unreal.AzureCloudSpatialAnchor

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

Bases: Object

Azure Cloud Spatial Anchor

C++ Source:

  • Plugin: AzureSpatialAnchors

  • Module: AzureSpatialAnchors

  • File: AzureCloudSpatialAnchor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • ar_pin (ARPin): [Read-Write] The ARPin with which this cloud anchor is associated, or null. Null could mean we are still trying to load the anchor or have not yet located it.

property ar_pin: ARPin

[Read-Only] The ARPin with which this cloud anchor is associated, or null. Null could mean we are still trying to load the anchor or have not yet located it.

Type:

(ARPin)

get_app_properties() Map[str, str]

The AppProperties dictionary of the cloud anchor.

Return type:

Map[str, str]

get_azure_cloud_identifier() str

The Azure Cloud identifier of the spatial anchor is the persistent identifier by which a cloud anchor can be requested from the azure cloud service. Empty if the anchor has not been saved or loaded yet.

Return type:

str

get_expiration() float

The Expiration time of the cloud anchor as seconds into the future.

Return type:

float

set_app_properties(app_properties) None

Set the AppProperties dictionary of the cloud anchor. You must call SaveCloudAnchor or UpdateCloudAnchorProperties before these will be persisted on azure.

Parameters:

app_properties (Map[str, str]) –

set_expiration(lifetime) None

Set the Expiration time of the cloud anchor as seconds into the future. You must call SaveCloudAnchor or UpdateCloudAnchorProperties before this will be persisted on azure.

Parameters:

lifetime (float) –