SpatialInteractionSource.Handedness SpatialInteractionSource.Handedness SpatialInteractionSource.Handedness SpatialInteractionSource.Handedness SpatialInteractionSource.Handedness Property

Definition

Gets whether the interaction source represents the user's left hand or right hand.

public : SpatialInteractionSourceHandedness Handedness { get; }
SpatialInteractionSourceHandedness Handedness();
public SpatialInteractionSourceHandedness Handedness { get; }
Public ReadOnly Property Handedness As SpatialInteractionSourceHandedness
var spatialInteractionSourceHandedness = spatialInteractionSource.handedness;

Property Value

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

For controllers that have an inherent handedness, this will always return that handedness, regardless of which hand the controller is physically held in.

For controllers that do not support positional tracking and do not have an inherent handedness, such as the HoloLens clicker, this will always return Unspecified.

For controllers that can be held in either hand, the system might use a heuristic to determine the handedness, returning Unspecified until determined. If such a controller changes handedness, the source is lost and re-detected with the current handedness.

For hand and speech sources on HoloLens, this property always returns Unspecified.