Dela via


TileMixedRealityModel.BoundingBox Property

Definition

Gets or sets the bounding box that defines the size of the model in the Windows Mixed Reality home in meters.

public:
 property IReference<SpatialBoundingBox> ^ BoundingBox { IReference<SpatialBoundingBox> ^ get(); void set(IReference<SpatialBoundingBox> ^ value); };
IReference<SpatialBoundingBox> BoundingBox();

void BoundingBox(IReference<SpatialBoundingBox> value);
public System.Nullable<SpatialBoundingBox> BoundingBox { get; set; }
var iReference = tileMixedRealityModel.boundingBox;
tileMixedRealityModel.boundingBox = iReference;
Public Property BoundingBox As Nullable(Of SpatialBoundingBox)

Property Value

The bounding box. If this value is null, the system will determine the bounding box when it loads the model. The default value is null.

Remarks

If a bounding box is not specified, it will be calculated automatically after the model is loaded.

Applies to