SpatialInteractionSource.IsPointingSupported 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 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
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.