Share via


SpatialInteractionSource.IsPointingSupported Property

Definition

Gets whether the source can provide pointer poses.

public:
 property bool IsPointingSupported { bool get(); };
bool IsPointingSupported();
public bool IsPointingSupported { get; }
var boolean = spatialInteractionSource.isPointingSupported;
Public ReadOnly Property IsPointingSupported As Boolean

Property Value

Boolean

bool

Returns true for motion controllers that support positional tracking and false for other interaction sources.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

To get the source pointer pose, pass the source to SpatialPointingPose.TryGetInteractionSourcePose. Note that a pointing-capable motion controller can still return a null pointer pose if the controller has lost positional tracking.

Applies to