SpatialLocatorAttachedFrameOfReference.TryGetRelativeHeadingAtTimestamp Method
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.
Computes the device's heading in radians for the specified timestamp, relative to this frame's fixed heading.
public:
virtual IReference<double> ^ TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp ^ timestamp) = TryGetRelativeHeadingAtTimestamp;
IReference<double> TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp const& timestamp);
C#
public System.Nullable<double> TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp timestamp);
function tryGetRelativeHeadingAtTimestamp(timestamp)
Public Function TryGetRelativeHeadingAtTimestamp (timestamp As PerceptionTimestamp) As Nullable(Of Double)
- timestamp
- PerceptionTimestamp
The timestamp to compute the relative heading for.
The relative heading in radians that corresponds with the timestamp, or null if it is not available for the specified time.
This method will return null if the timestamp is too far in the past or future.
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 |