altitude
The altitude of the device's geographical location in meters.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.InputLegacyModule
public float altitude { get; }
Remarks
The altitude value can vary per platform based on the coordinate reference system each platform uses.
- Android, UWP, Web: The altitude is measured relative to the WGS84 (World Geodetic System 1984) ellipsoid.
- iOS: The altitude is measured relative to mean sea level, as provided by the CLLocation API (Apple).