Share via


SpatialBoundingFrustum Struct

Definition

A bounding frustum in the user's surroundings defined as a set of 6 planes, with coordinates expressed in meters.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
struct SpatialBoundingFrustum
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public struct SpatialBoundingFrustum
var spatialBoundingFrustum = {
near : /* Your value */,
far : /* Your value */,
right : /* Your value */,
left : /* Your value */,
top : /* Your value */,
bottom : /* Your value */
}
Public Structure SpatialBoundingFrustum
Inheritance
SpatialBoundingFrustum
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

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

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

Far

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

Left

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

Near

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

Right

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

Top

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

Applies to