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 const & coordinateSystem, PerceptionTimestamp const & timestamp);
public static SpatialPointerPose TryGetAtTimestamp(SpatialCoordinateSystem coordinateSystem, PerceptionTimestamp timestamp);
function tryGetAtTimestamp(coordinateSystem, timestamp)
Public Shared Function TryGetAtTimestamp (coordinateSystem As SpatialCoordinateSystem, timestamp As PerceptionTimestamp) As SpatialPointerPose

Parameters

coordinateSystem
SpatialCoordinateSystem

The coordinate system in which to express the pointer poses.

timestamp
PerceptionTimestamp

The timestamp, past or future.

Returns

SpatialPointerPose

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

Applies to