SpatialBoundingFrustum 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 SpatialBoundingFrustum
struct winrt::Windows::Perception::Spatial::SpatialBoundingFrustum
public struct SpatialBoundingFrustum
Public Structure SpatialBoundingFrustum
var spatialBoundingFrustum = {

   bottom: /* Your value */,

   far: /* Your value */,

   left: /* Your value */,

   near: /* Your value */,

   right: /* Your value */,

   top: /* Your value */

}
Attributes

Windows 10 requirements

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 Bottom

The bottom Plane defines the boundary for the bottommost content within the frustum.

Far Far Far Far Far

The far Plane defines the boundary for the farthest content within the frustum.

Left Left Left Left Left

The left Plane defines the boundary for the leftmost content within the frustum.

Near Near Near Near Near

The near Plane defines the boundary for the closest content within the frustum.

Right Right Right Right Right

The right Plane defines the boundary for the rightmost content within the frustum.

Top Top Top Top Top

The top Plane defines the boundary for the topmost content within the frustum.