Spatial​Pointer​Pose Spatial​Pointer​Pose Spatial​Pointer​Pose Class


Represents the available spatial pointing poses, such as the user's head gaze and each spatial controller's pointing pose, for use in targeting hand gestures, spatial controller presses, and voice interactions.

public sealed class SpatialPointerPose : ISpatialPointerPose, ISpatialPointerPose2public sealed class SpatialPointerPose : ISpatialPointerPose, ISpatialPointerPose2Public NotInheritable Class SpatialPointerPose Implements ISpatialPointerPose, ISpatialPointerPose2
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)


The SpatialPointingPose provides the set of pointing rays available at the time represented by the Timestamp property.

When targeting a spatial interaction, such as a hand gesture, spatial controller press or voice interaction, apps should choose a pointing ray available from the interaction's SpatialPointerPose, based on the nature of the interaction's SpatialInteractionSource:

  • If the interaction source does not support pointing (IsPointingSupported is false), the app should target based on the user's gaze, available through the Head property.
  • If the interaction source does support pointing (IsPointingSupported is true), the app may instead target based on the source's pointing pose, available through the TryGetInteractionSourcePose method.

The app should then intersect the chosen pointing ray with its own holograms or with the spatial mapping mesh to render cursors and determine what the user is intending to interact with.

Once an interaction has started, relative motions of the hand or controller may be used to control the gesture, as with the Manipulation or Navigation gesture.


Head Head Head

Gets the user's head gaze for this timestamp.

public HeadPose Head { get; }public HeadPose Head { get; }Public ReadOnly Property Head As HeadPose
HeadPose HeadPose HeadPose

The head gaze.


Timestamp Timestamp Timestamp

Gets the timestamp at which the pointing rays have been determined.

public PerceptionTimestamp Timestamp { get; }public PerceptionTimestamp Timestamp { get; }Public ReadOnly Property Timestamp As PerceptionTimestamp


TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp) TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp) TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp)

Gets the head gaze and spatial controller pointing poses for the specified timestamp.

public static SpatialPointerPose TryGetAtTimestamp(SpatialCoordinateSystem coordinateSystem, PerceptionTimestamp timestamp)public static SpatialPointerPose TryGetAtTimestamp(SpatialCoordinateSystem coordinateSystem, PerceptionTimestamp timestamp)Public Static Function TryGetAtTimestamp(coordinateSystem As SpatialCoordinateSystem, timestamp As PerceptionTimestamp) As SpatialPointerPose
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

The coordinate system in which to express the pointing poses.

PerceptionTimestamp PerceptionTimestamp PerceptionTimestamp

The timestamp, past or future.



This will either be a timestamp from the past (when correlating with input events) or a timestamp from the future (when rendering a cursor along the user's predicted gaze for a HolographicFramePrediction).

This method will return null if the specified coordinate system cannot be located at the moment.

TryGetInteractionSourcePose(SpatialInteractionSource) TryGetInteractionSourcePose(SpatialInteractionSource) TryGetInteractionSourcePose(SpatialInteractionSource)

Gets the pointing pose for a particular spatial interaction source, such as a spatial controller, at a given timestamp.

public SpatialPointerInteractionSourcePose TryGetInteractionSourcePose(SpatialInteractionSource source)public SpatialPointerInteractionSourcePose TryGetInteractionSourcePose(SpatialInteractionSource source)Public Function TryGetInteractionSourcePose(source As SpatialInteractionSource) As SpatialPointerInteractionSourcePose
SpatialInteractionSource SpatialInteractionSource SpatialInteractionSource

The spatial interaction source for which a pointing pose should be determined.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)


This method will return null if the specified spatial interaction source does not support pointing (IsPointingSupported is false) or if the source did not have positional tracking at that moment.