SpatialInteractionSourceLocation.Position Property
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 grip pose position, representing the position of the user's hand, either directly or where it holds a motion controller.
public:
property IReference<float3> ^ Position { IReference<float3> ^ get(); };
IReference<float3> Position();
public System.Nullable<Vector3> Position { get; }
var iReference = spatialInteractionSourceLocation.position;
Public ReadOnly Property Position As Nullable(Of Vector3)
Property Value
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".