SpatialLocatorAttachedFrameOfReference.TryGetRelativeHeadingAtTimestamp Method

Definition

Computes the device's heading in radians for the specified timestamp, relative to this frame's fixed heading.

C#
public System.Nullable<double> TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp timestamp);

Parameters

timestamp
PerceptionTimestamp

The timestamp to compute the relative heading for.

Returns

The relative heading in radians that corresponds with the timestamp, or null if it is not available for the specified time.

Remarks

This method will return null if the timestamp is too far in the past or future.

Applies to

Product Versions
WinRT Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100