SpatialInteractionSource.TryGetStateAtTimestamp(PerceptionTimestamp) 方法

定义

获取此源自指定时间戳起的状态。

public:
 virtual SpatialInteractionSourceState ^ TryGetStateAtTimestamp(PerceptionTimestamp ^ timestamp) = TryGetStateAtTimestamp;
SpatialInteractionSourceState TryGetStateAtTimestamp(PerceptionTimestamp const& timestamp);
public SpatialInteractionSourceState TryGetStateAtTimestamp(PerceptionTimestamp timestamp);
function tryGetStateAtTimestamp(timestamp)
Public Function TryGetStateAtTimestamp (timestamp As PerceptionTimestamp) As SpatialInteractionSourceState

参数

timestamp
PerceptionTimestamp

查询此交互源的状态的时间。

返回

状态。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于