SpatialBoundingFrustum
SpatialBoundingFrustum
SpatialBoundingFrustum
SpatialBoundingFrustum
Struct
Definition
A bounding frustum in the user's surroundings defined as a set of 6 planes, with coordinates expressed in meters.
public : struct SpatialBoundingFrustumpublic struct SpatialBoundingFrustumPublic Structure SpatialBoundingFrustum// You can use this struct in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Remarks
A frustum is a rectangular pyramid clipped by a near plane and a far plane. When used as a view frustum, the volume within the frustum represents the view of a camera.
The normals for the 6 planes each face out from the frustum, defining its volume. Its coordinates are expressed in meters, and are meaningful in a specific coordinate system usually specified alongside the frustum.
Fields
Bottom Bottom Bottom Bottom
The bottom Plane defines the boundary for the bottommost content within the frustum.
public : field Plane Bottompublic field Plane BottomPublic Field Bottom// You can use this field in JavaScript.
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Far Far Far Far
The far Plane defines the boundary for the farthest content within the frustum.
public : field Plane Farpublic field Plane FarPublic Field Far// You can use this field in JavaScript.
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Left Left Left Left
The left Plane defines the boundary for the leftmost content within the frustum.
public : field Plane Leftpublic field Plane LeftPublic Field Left// You can use this field in JavaScript.
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Near Near Near Near
The near Plane defines the boundary for the closest content within the frustum.
public : field Plane Nearpublic field Plane NearPublic Field Near// You can use this field in JavaScript.
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Right Right Right Right
The right Plane defines the boundary for the rightmost content within the frustum.
public : field Plane Rightpublic field Plane RightPublic Field Right// You can use this field in JavaScript.
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Top Top Top Top
The top Plane defines the boundary for the topmost content within the frustum.
public : field Plane Toppublic field Plane TopPublic Field Top// You can use this field in JavaScript.
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|