-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Perception.Spatial.SpatialLocator.TryLocateAtTimestamp(Windows.Perception.PerceptionTimestamp,Windows.Perception.Spatial.SpatialCoordinateSystem) |
winrt method |
xbox |
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.
The timestamp at which to locate the device.
The coordinate system in which to express the location's coordinates.
The location.