unreal.CloudARPin

class unreal.CloudARPin(outer: Object | None = None, name: Name | str = 'None')

Bases: 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_ar_transform_updated (OnARTransformUpdated): [Read-Write]

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.

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