SpatialStageFrameOfReference.TryGetMovementBounds(SpatialCoordinateSystem) SpatialStageFrameOfReference.TryGetMovementBounds(SpatialCoordinateSystem) SpatialStageFrameOfReference.TryGetMovementBounds(SpatialCoordinateSystem) SpatialStageFrameOfReference.TryGetMovementBounds(SpatialCoordinateSystem) SpatialStageFrameOfReference.TryGetMovementBounds(SpatialCoordinateSystem) Method

Definition

Gets the boundary vertices of the open area defined by the user where they intend to move while using their headset.

public : Vector3[] TryGetMovementBounds(SpatialCoordinateSystem coordinateSystem)
Vector3[] TryGetMovementBounds(SpatialCoordinateSystem coordinateSystem) const;
public Vector3[] TryGetMovementBounds(SpatialCoordinateSystem coordinateSystem)
Public Function TryGetMovementBounds(coordinateSystem As SpatialCoordinateSystem) As Vector3[]
var vector3[] = spatialStageFrameOfReference.tryGetMovementBounds(coordinateSystem);

Parameters

coordinateSystem
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

The coordinate system in which to express the boundary vertices.

Returns

Vector3[] Vector3[] Vector3[]

The boundary vertices.

Remarks

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