SpatialPointerPose.TryGetAtTimestamp Method
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 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
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).