Documentation Search
Godot Apple Plugins Class

CMAbsoluteAltitudeData

Inherits: RefCounted < Object

An absolute (sea-level-referenced) altitude sample from CMAltimeter.

Description

Wraps Apple’s CMAbsoluteAltitudeData, available on iOS 15 and later. Reports altitude referenced to mean sea level along with accuracy and precision estimates.

See Apple’s CMAbsoluteAltitudeData reference.

Tutorials

Properties

float

accuracy

float

altitude

float

precision

float

timestamp


Property Descriptions

float accuracy 🔗

  • void set_accuracy(value: float)

  • float get_accuracy()

Estimated accuracy of altitude in meters.


float altitude 🔗

  • void set_altitude(value: float)

  • float get_altitude()

Altitude in meters relative to mean sea level.


float precision 🔗

  • void set_precision(value: float)

  • float get_precision()

Estimated precision of altitude in meters.


float timestamp 🔗

  • void set_timestamp(value: float)

  • float get_timestamp()

The time at which the sample was taken, in seconds since device boot.