SpatialStageFrameOfReference.TryGetMovementBounds Methode

Definition

Ruft die Begrenzungspunkte des offenen Bereichs ab, der vom Benutzer definiert wird, in den er sich bewegen möchte, während er sein Headset verwendet.

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()

Parameter

coordinateSystem
SpatialCoordinateSystem

Das Koordinatensystem, in dem die Begrenzungspunkte ausgedrückt werden sollen.

Gibt zurück

Vector3[]

Vector3[]

float3[]

Die Begrenzungspunkte.

Hinweise

Diese Methode gibt NULL zurück, wenn der Benutzer keine Bewegungsgrenzen definiert hat. (d. h. wenn MovementRange NoMovement ist)

Gilt für: