文档

Unity Engine

Unity Engine

LocationInfo

Structure describing device location.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public struct LocationInfo

Properties

Property

Description

altitudeThe altitude of the device's geographical location in meters.
horizontalAccuracyHorizontal accuracy radius of the location in meters.
latitudeGeographical device location latitude.
longitudeGeographical device location longitude.
timestampTimestamp of when the location data was last updated.
verticalAccuracyVertical accuracy radius of the location in meters.