unreal.CloudARPin

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

Bases: unreal.ARPin

A CloudARPin will be created when you host an existing ARPin, or resolved a previous hosted CloudARPin. It is a subclass of UARPin so all functions on UARPin works on CloudARPin, besides that you can query its CloudState and CloudID

C++ Source:

  • Plugin: GoogleARCoreServices
  • Module: GoogleARCoreServices
  • File: GoogleARCoreServicesTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • on_ar_tracking_state_changed (OnARTrackingStateChanged): [Read-Write] On ARTracking State Changed
  • on_ar_transform_updated (OnARTransformUpdated): [Read-Write] On ARTransform Updated
get_ar_pin_cloud_state() → CloudARPinCloudState

Gets the current cloud state of this CloudARPin. Note that the cloud state will only be updated once per frame.

Returns:
Return type:CloudARPinCloudState
get_cloud_id() → str

Gets the CloudID of this CloudARPin.

Returns:Return a non-empty FString if the CloudARPin is ready. otherwise, return an empty FString.
Return type:str