queryDeviceAnchor(atTimestamp:)
The predicted pose of the current device at a given time.
Declaration
final func queryDeviceAnchor(atTimestamp timestamp: TimeInterval) -> DeviceAnchor?Parameters
- timestamp:
A time — now or in the future — to predict the device pose.
Return Value
The predicted position and orientation of the device at the time you specify.
Discussion
Pass the timestamp parameter as absolute time in seconds. For example, to get the device’s current pose, pass CACurrentMediaTime() as the timestamp.