Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.1 KB

spatiallocator_trylocateattimestamp_378988770.md

File metadata and controls

30 lines (21 loc) · 1.1 KB
-api-id -api-type -api-device-family-note
M:Windows.Perception.Spatial.SpatialLocator.TryLocateAtTimestamp(Windows.Perception.PerceptionTimestamp,Windows.Perception.Spatial.SpatialCoordinateSystem)
winrt method
xbox

Windows.Perception.Spatial.SpatialLocator.TryLocateAtTimestamp

-description

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.

-parameters

-param timestamp

The timestamp at which to locate the device.

-param coordinateSystem

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

-returns

The location.

-remarks

-examples

-see-also