uap6:SpatialBoundingBox

Used to define the center point and the extents for a bounding volume.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <uap:VisualElements>

                   <uap:DefaultTile>

                        <uap5:MixedRealityModel>

                             <uap6:SpatialBoundingBox>

Syntax

<uap6:SpatialBoundingBox
  Center = 'Vector coordinates in the form: "X, Y, Z". Vector values must be numeric and can contain decimal and negative values.'
  Extents = 'Either vector coordinates in the form: "X, Y, Z" (vector values must be numeric and can contain decimal and negative values) or the string: "Auto".' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Center Vector coordinates of the center of the bounding box. Vector coordinates in the form: X, Y, Z. Vector values must be numeric and can contain decimal and negative values. Yes
Extents Either vector coordinates or "Auto" sizing extent of a the bounding box. Either vector coordinates in the form: X, Y, Z (vector values must be numeric and can contain decimal and negative values) or the string: Auto. Yes

Child elements

None

Parent elements

Parent element Description
uap5:MixedRealityModel An element used to define a 3D model as the default representation of an app. When launched from a virtual or mixed reality device, this model will represent the app in the virtual setting.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/5
Minimum OS Version Windows 10 version 1803 (Build 17134)