SpatialPointerInteractionSourcePose.PositionAccuracy 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 accuracy of an interaction source's positional tracking.
public:
property SpatialInteractionSourcePositionAccuracy PositionAccuracy { SpatialInteractionSourcePositionAccuracy get(); };
SpatialInteractionSourcePositionAccuracy PositionAccuracy();
public SpatialInteractionSourcePositionAccuracy PositionAccuracy { get; }
var spatialInteractionSourcePositionAccuracy = spatialPointerInteractionSourcePose.positionAccuracy;
Public ReadOnly Property PositionAccuracy As SpatialInteractionSourcePositionAccuracy
Property Value
The position accuracy.
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Remarks
When a visually-tracked motion controller loses tracking, the system may continue to synthesize a position, with the precise mechanism of synthesis varying based on the tracking technology. Apps may check this property to determine when the position does not represent the nominal positional accuracy for that controller.
For example, an app may choose to accept all positions when pointing at menus or interacting with world objects. Then, when the user starts painting in the world around them, the app may choose to accept only positions with a High accuracy, to ensure the quality of the painting remains high.