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)

property altitude

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

Type

(float)

property horizontal_accuracy

overall) accuracy of the result, in meters

Type

(float)

Type

[Read-Write] Estimated horizontal (Android

property latitude

[Read-Write] Latitude

Type

(float)

property longitude

[Read-Write] Longitude

Type

(float)

property timestamp

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

Type

(float)

property vertical_accuracy

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

Type

(float)