SpatialInteractionSourceLocation.Position SpatialInteractionSourceLocation.Position SpatialInteractionSourceLocation.Position SpatialInteractionSourceLocation.Position SpatialInteractionSourceLocation.Position Property

Definition

Gets the grip pose position, representing the position of the user's hand, either directly or where it holds a motion controller.

public : IReference<Vector3> Position { get; }
IReference<Vector3> Position();
public Nullable<Vector3> Position { get; }
Public ReadOnly Property Position As Nullable<Vector3>
var nullable = spatialInteractionSourceLocation.position;

Property Value

Nullable<Vector3> Nullable<Vector3> Nullable<Vector3>

The position.

Remarks

This position is distinct from the motion controller's pointing ray, which has its origin at the tip of the controller. The pointing ray for a controller is available through the SourcePointerPose property.

Note that position is only available for an interaction source if it can be correlated with the specified coordinate system.

Interactions from interaction sources that do not support pointing should be targeted using gaze, not using the controller as an "air mouse".