ARCloudReferencePoint

Deprecated version of ARCloudAnchor.

Deprecated. Please use ARCloudAnchor instead.

Summary

Inheritance

Inherits from: Google.XR.ARCoreExtensions.ARCloudAnchor

Properties

cloudAnchorId
string
Deprecated. When hosting an anchor using an async method, get the Cloud Anchor ID from the HostCloudAnchorResult object. This will always return the empty string or null, except for anchors created by deprecated methods.
Gets the Cloud Anchor Id associated with this Cloud Anchor.
cloudAnchorState Deprecated. When hosting or resolving an anchor using an async method, get the result status from the HostCloudAnchorResult or ResolveCloudAnchorResult object. This will always return CloudAnchorState.None, except for anchors created by deprecated methods.
Gets the CloudAnchorState associated with this Cloud Anchor.
cloudReferenceId
string
Gets the Cloud Reference Id associated with this cloud reference point.
cloudReferenceState
Gets the CloudReferenceState associated with cloud reference point.
nativePtr
Gets the native pointer that represents this Cloud Anchor.
pose
new Pose
Gets the Pose associated with this cloud reference point.
trackableId
Gets the TrackableId associated with this cloud reference point.
trackingState
Gets the TrackingState associated with this cloud reference point.

Public functions

OnDestroy()
void
When the game object containing the ARCloudAnchor component is destroyed, the underlying native Cloud Anchor object will be detached and the resource will be released.
Update()
new void
Unity Update method.

Properties

cloudAnchorId

string cloudAnchorId

Gets the Cloud Anchor Id associated with this Cloud Anchor.

For newly created points the Id will be an empty string until the Cloud Anchor is in the CloudAnchorState.Success state. This Id is provided on the device hosting the Cloud Anchor, and is used to resolve a corresponding Cloud Anchor on other devices. See ARAnchorManagerExtensions.ResolveCloudAnchorId( UnityEngine.XR.ARFoundation.ARAnchorManager, string) for more information.

Deprecated. When hosting an anchor using an async method, get the Cloud Anchor ID from the HostCloudAnchorResult object. This will always return the empty string or null, except for anchors created by deprecated methods.

cloudAnchorState

CloudAnchorState cloudAnchorState

Gets the CloudAnchorState associated with this Cloud Anchor.

Deprecated. When hosting or resolving an anchor using an async method, get the result status from the HostCloudAnchorResult or ResolveCloudAnchorResult object. This will always return CloudAnchorState.None, except for anchors created by deprecated methods.

cloudReferenceId

string cloudReferenceId

Gets the Cloud Reference Id associated with this cloud reference point.

For newly created points the Id will be an empty string until the cloud reference point is in the CloudReferenceState.Success state. Deprecated version of ARCloudAnchor.cloudAnchorId.

cloudReferenceState

CloudReferenceState cloudReferenceState

Gets the CloudReferenceState associated with cloud reference point.

Deprecated version of ARCloudAnchor.cloudAnchorState.

nativePtr

IntPtr nativePtr

Gets the native pointer that represents this Cloud Anchor.

pose

new Pose pose

Gets the Pose associated with this cloud reference point.

trackableId

new TrackableId trackableId

Gets the TrackableId associated with this cloud reference point.

trackingState

new TrackingState trackingState

Gets the TrackingState associated with this cloud reference point.

Public functions

OnDestroy

void OnDestroy()

When the game object containing the ARCloudAnchor component is destroyed, the underlying native Cloud Anchor object will be detached and the resource will be released.

Update

new void Update()

Unity Update method.