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] Altitude: In meters, if provided with the resulthorizontal_accuracy
(float): [Read-Write] Horizontal Accuracy: Estimated horizontal (Android: overall) accuracy of the result, in meterslatitude
(float): [Read-Write] Latitudelongitude
(float): [Read-Write] Longitudetimestamp
(float): [Read-Write] Timestamp: Timestamp from when this location data was taken (UTC time in milliseconds since 1 January 1970)vertical_accuracy
(float): [Read-Write] Vertical Accuracy: Estimated accuracy of the result, in meters (iOS only)
- property altitude: float¶
[Read-Write] Altitude: In meters, if provided with the result
- Type:
(float)
- property horizontal_accuracy: float¶
[Read-Write] Horizontal Accuracy: Estimated horizontal (Android: overall) accuracy of the result, in meters
- Type:
(float)