unreal.LocationServicesData?

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

Bases: unreal.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] Latitude
  • longitude (float): [Read-Write] Longitude
  • 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)
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] Latitude

longitude?

(float) – [Read-Write] Longitude

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)