Contents

altitudeSource

A record of the source from which an altitude came.

Declaration

var altitudeSource: ARGeoAnchor.AltitudeSource { get }

Discussion

The value of this property is ARGeoAnchor.AltitudeSource.userDefined if you set the altitude yourself (see getGeoLocation(forPoint:completionHandler:)).

If your app doesn’t set the altitude, ARKit populates this property to indicate the altitude’s expected accuracy (either ARGeoAnchor.AltitudeSource.precise, or ARGeoAnchor.AltitudeSource.coarse), depending on the level of confidence ARKit has with the altitude data that’s available at the time.

See Also

Defining Altitude