SpatialLocatorAttachedFrameOfReference.TryGetRelativeHeadingAtTimestamp Method
Definition
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);
public System.Nullable<double> TryGetRelativeHeadingAtTimestamp(PerceptionTimestamp timestamp);
function tryGetRelativeHeadingAtTimestamp(timestamp)
Public Function TryGetRelativeHeadingAtTimestamp (timestamp As PerceptionTimestamp) As Nullable(Of Double)
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.