기술 자료

Unity Engine

Unity Engine

altitude

The altitude of the device's geographical location in meters.
읽는 시간 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).