unreal.ARGeoTrackingSupport

class unreal.ARGeoTrackingSupport(outer=None, name='None')

Bases: unreal.Object

Interface class for Geo tracking related features.

C++ Source:

  • Module: AugmentedReality

  • File: ARGeoTrackingSupport.h

add_geo_anchor_at_location(longitude, latitude, optional_anchor_name)bool
Parameters
  • longitude (float) –

  • latitude (float) –

  • optional_anchor_name (str) –

Returns

add an Geo anchor at a specific location.

Return type

bool

add_geo_anchor_at_location_with_altitude(longitude, latitude, altitude_meters, optional_anchor_name)bool
Parameters
  • longitude (float) –

  • latitude (float) –

  • altitude_meters (float) –

  • optional_anchor_name (str) –

Returns

add an Geo anchor at a specific location with an altitude (in meters).

Return type

bool

get_geo_tracking_accuracy()ARGeoTrackingAccuracy
Returns

the current session’s Geo tracking state accuracy.

Return type

ARGeoTrackingAccuracy

get_geo_tracking_state()ARGeoTrackingState
Returns

the current session’s Geo tracking state.

Return type

ARGeoTrackingState

get_geo_tracking_state_reason()ARGeoTrackingStateReason
Returns

the current session’s Geo tracking state reason.

Return type

ARGeoTrackingStateReason

classmethod get_geo_tracking_support()ARGeoTrackingSupport
Returns

the interface object to support Geo tracking, return null on platforms don’t support the feature.

Return type

ARGeoTrackingSupport