SpatialPointerPose.TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp) SpatialPointerPose.TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp) SpatialPointerPose.TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp) SpatialPointerPose.TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp) SpatialPointerPose.TryGetAtTimestamp(SpatialCoordinateSystem, PerceptionTimestamp) Method

Definition

Gets the head gaze and motion controller pointer poses for the specified timestamp.

public : static SpatialPointerPose TryGetAtTimestamp(SpatialCoordinateSystem coordinateSystem, PerceptionTimestamp timestamp)
static SpatialPointerPose TryGetAtTimestamp(SpatialCoordinateSystem coordinateSystem, PerceptionTimestamp timestamp) const;
public static SpatialPointerPose TryGetAtTimestamp(SpatialCoordinateSystem coordinateSystem, PerceptionTimestamp timestamp)
Public Shared Function TryGetAtTimestamp(coordinateSystem As SpatialCoordinateSystem, timestamp As PerceptionTimestamp) As SpatialPointerPose
var spatialPointerPose = Windows.UI.Input.Spatial.SpatialPointerPose.tryGetAtTimestamp(coordinateSystem, timestamp);

Parameters

coordinateSystem
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

The coordinate system in which to express the pointer poses.

timestamp
PerceptionTimestamp PerceptionTimestamp PerceptionTimestamp

The timestamp, past or future.

Returns

The pointer poses, or null if the specified coordinate system cannot be located.

Remarks

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 ).