Jaa


SpatialStageFrameOfReference.TryGetMovementBounds Method

Definition

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

Vector3[]

Vector3[]

float3[]

The boundary vertices.

Remarks

This method will return null if the user has not defined movement bounds. (i.e. if MovementRange is NoMovement)

Applies to