SpatialStageFrameOfReference.TryGetMovementBounds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the boundary vertices of the open area defined by the user where they intend to move while using their headset.
public:
virtual Platform::Array <float3> ^ TryGetMovementBounds(SpatialCoordinateSystem ^ coordinateSystem) = TryGetMovementBounds;
winrt::array_view <float3> TryGetMovementBounds(SpatialCoordinateSystem const& coordinateSystem);
public Vector3[] TryGetMovementBounds(SpatialCoordinateSystem coordinateSystem);
function tryGetMovementBounds(coordinateSystem)
Public Function TryGetMovementBounds (coordinateSystem As SpatialCoordinateSystem) As Vector3()
Parameters
- coordinateSystem
- SpatialCoordinateSystem
The coordinate system in which to express the boundary vertices.
Returns
The boundary vertices.
Remarks
This method will return null if the user has not defined movement bounds. (i.e. if MovementRange is NoMovement)