SpatialPointerPose.TryGetAtTimestamp 方法

定義

取得指定時間戳記的頭部注視和動作控制器指標姿勢。

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

參數

coordinateSystem
SpatialCoordinateSystem

要在其中表示指標姿勢的座標系統。

timestamp
PerceptionTimestamp

時間戳記、過去或未來。

傳回

指標會造成,如果指定的座標系統無法找到,則為 null。

備註

當與輸入事件) 相互關聯時,這會是過去 (的時間戳記,或在使用者針對 HolographicFramePrediction) 轉譯游標時,未來 (的時間戳記。

適用於