SpatialBoundingVolume SpatialBoundingVolume SpatialBoundingVolume SpatialBoundingVolume SpatialBoundingVolume Class

Definition

Represents a bounding volume of some kind in the user's surroundings, for example, a box, oriented box, sphere or frustum.

public : sealed class SpatialBoundingVolume : ISpatialBoundingVolume
struct winrt::Windows::Perception::Spatial::SpatialBoundingVolume : ISpatialBoundingVolume
public sealed class SpatialBoundingVolume : ISpatialBoundingVolume
Public NotInheritable Class SpatialBoundingVolume Implements ISpatialBoundingVolume
// This class does not provide a public constructor.
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

Once created, a SpatialBoundingVolume is opaque, and only intended to be passed to an API that expects one as input.

Methods

FromBox(SpatialCoordinateSystem, SpatialBoundingBox) FromBox(SpatialCoordinateSystem, SpatialBoundingBox) FromBox(SpatialCoordinateSystem, SpatialBoundingBox) FromBox(SpatialCoordinateSystem, SpatialBoundingBox) FromBox(SpatialCoordinateSystem, SpatialBoundingBox)

Creates a bounding volume from the specified box, with its coordinates interpreted within the specified coordinate system.

FromFrustum(SpatialCoordinateSystem, SpatialBoundingFrustum) FromFrustum(SpatialCoordinateSystem, SpatialBoundingFrustum) FromFrustum(SpatialCoordinateSystem, SpatialBoundingFrustum) FromFrustum(SpatialCoordinateSystem, SpatialBoundingFrustum) FromFrustum(SpatialCoordinateSystem, SpatialBoundingFrustum)

Creates a bounding volume from the specified frustum, with its coordinates interpreted within the specified coordinate system.

FromOrientedBox(SpatialCoordinateSystem, SpatialBoundingOrientedBox) FromOrientedBox(SpatialCoordinateSystem, SpatialBoundingOrientedBox) FromOrientedBox(SpatialCoordinateSystem, SpatialBoundingOrientedBox) FromOrientedBox(SpatialCoordinateSystem, SpatialBoundingOrientedBox) FromOrientedBox(SpatialCoordinateSystem, SpatialBoundingOrientedBox)

Creates a bounding volume from the specified oriented box, with its coordinates interpreted within the specified coordinate system.

FromSphere(SpatialCoordinateSystem, SpatialBoundingSphere) FromSphere(SpatialCoordinateSystem, SpatialBoundingSphere) FromSphere(SpatialCoordinateSystem, SpatialBoundingSphere) FromSphere(SpatialCoordinateSystem, SpatialBoundingSphere) FromSphere(SpatialCoordinateSystem, SpatialBoundingSphere)

Creates a bounding volume from the specified sphere, with its coordinates interpreted within the specified coordinate system.