Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SpatialLocator.TryLocateAtTimestamp 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.

Returns a SpatialLocation representing the device's location at the specified timestamp. The coordinates within are expressed relative to the supplied coordinate system. If the device cannot be located in that coordinate system at the specified timestamp, the return value will be null. This can happen when the device has lost tracking, for example.

public:
 virtual SpatialLocation ^ TryLocateAtTimestamp(PerceptionTimestamp ^ timestamp, SpatialCoordinateSystem ^ coordinateSystem) = TryLocateAtTimestamp;
SpatialLocation TryLocateAtTimestamp(PerceptionTimestamp const& timestamp, SpatialCoordinateSystem const& coordinateSystem);
public SpatialLocation TryLocateAtTimestamp(PerceptionTimestamp timestamp, SpatialCoordinateSystem coordinateSystem);
function tryLocateAtTimestamp(timestamp, coordinateSystem)
Public Function TryLocateAtTimestamp (timestamp As PerceptionTimestamp, coordinateSystem As SpatialCoordinateSystem) As SpatialLocation

Parameters

timestamp
PerceptionTimestamp

The timestamp at which to locate the device.

coordinateSystem
SpatialCoordinateSystem

The coordinate system in which to express the location's coordinates.

Returns

The location.

Applies to


Feedback

Was this page helpful?