unreal.LocationServicesData

class unreal.LocationServicesData(timestamp: float = 0.0, longitude: float = 0.0, latitude: float = 0.0, horizontal_accuracy: float = 0.0, vertical_accuracy: float = 0.0, altitude: float = 0.0)

Bases: StructBase

Struct to hold relevant location data retrieved from the mobile implementation’s Location Service

C++ Source:

  • Plugin: LocationServicesBPLibrary

  • Module: LocationServicesBPLibrary

  • File: LocationServicesBPLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • altitude (float): [Read-Write] In meters, if provided with the result

  • horizontal_accuracy (float): [Read-Write] Estimated horizontal (Android: overall) accuracy of the result, in meters

  • latitude (float): [Read-Write]

  • longitude (float): [Read-Write]

  • timestamp (float): [Read-Write] Timestamp from when this location data was taken (UTC time in milliseconds since 1 January 1970)

  • vertical_accuracy (float): [Read-Write] Estimated accuracy of the result, in meters (iOS only)

property altitude: float

[Read-Write] In meters, if provided with the result

Type:

(float)

property horizontal_accuracy: float

overall) accuracy of the result, in meters

Type:

(float)

Type:

[Read-Write] Estimated horizontal (Android

property latitude: float

[Read-Write]

Type:

(float)

property longitude: float

[Read-Write]

Type:

(float)

property timestamp: float

[Read-Write] Timestamp from when this location data was taken (UTC time in milliseconds since 1 January 1970)

Type:

(float)

property vertical_accuracy: float

[Read-Write] Estimated accuracy of the result, in meters (iOS only)

Type:

(float)