unreal.MagicLeapLocationData

class unreal.MagicLeapLocationData(latitude=0.0, longitude=0.0, postal_code='', accuracy=-1.0)

Bases: unreal.StructBase

Location request result.

C++ Source:

  • Plugin: MagicLeapLocation
  • Module: MagicLeapLocation
  • File: MagicLeapLocationTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • accuracy (float): [Read-Write] The degree of accuracy in Unreal Units (typically centimeters). Set to -1.0f if not provided.
  • latitude (float): [Read-Write] Location latitude.
  • longitude (float): [Read-Write] Location longitude.
  • postal_code (str): [Read-Write] Approximate postal code. Remains blank if not provided.
accuracy

(float) – [Read-Write] The degree of accuracy in Unreal Units (typically centimeters). Set to -1.0f if not provided.

latitude

(float) – [Read-Write] Location latitude.

longitude

(float) – [Read-Write] Location longitude.

postal_code

(str) – [Read-Write] Approximate postal code. Remains blank if not provided.