Share via


SpatialInteractionSource.TryGetStateAtTimestamp(PerceptionTimestamp) Method

Definition

Get the state of this source as of the specified timestamp.

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

Parameters

timestamp
PerceptionTimestamp

The time to query for the state of this interaction source.

Returns

The state.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to