Share via


SpatialSurfaceObserver.SetBoundingVolume(SpatialBoundingVolume) Method

Definition

Sets the single bounding volume that this observer will track for new, updated or removed surfaces.

public:
 virtual void SetBoundingVolume(SpatialBoundingVolume ^ bounds) = SetBoundingVolume;
void SetBoundingVolume(SpatialBoundingVolume const& bounds);
public void SetBoundingVolume(SpatialBoundingVolume bounds);
function setBoundingVolume(bounds)
Public Sub SetBoundingVolume (bounds As SpatialBoundingVolume)

Parameters

bounds
SpatialBoundingVolume

The new bounding volume for this observer to track for surface updates.

Windows requirements

App capabilities
spatialPerception

Remarks

When the set of surface metadata within this bounding volume changes, the ObservedSurfacesChanged event will fire.

Applies to