Skip to main content
API Reference SwiftyNsdk NsdkVps2Session

getPose

Gets the AR pose corresponding to a geolocation using the provided VPS2 transformer....

Declaration

func getPose(transformer: Vps2Transformer, location: GeolocationData) -> Vps2Pose

Summary

Gets the AR pose corresponding to a geolocation using the provided VPS2 transformer.
- Parameters:
- transformer: The transformer to use for the pose calculation.
- location: The geolocation to convert into an AR pose.
- Returns: The pose in the device's AR coordinate space.
- Note: Callers should ensure transformer.trackingState != .unavailable before using the result.


ON THIS PAGE