Google.XR.ARCoreExtensions.ARCloudReferencePoint

The ARCloudReferencePoint is an ARCore Extensions object that provides a similar service to AR Foundations ARReferencePoint as an anchor for game objects in your scene.

Summary

It is backed by an ARCore Cloud Anchor to synchronize pose data across multiple devices.

Inheritance

Inherits from: MonoBehaviour, ITrackable

Properties

cloudReferenceId
string
Gets the Cloud Reference Id associated with this cloud reference point.
cloudReferenceState
Gets the CloudReferenceState associated with cloud reference point.
pose
Pose
Gets the Pose associated with this cloud reference point.
trackableId
TrackableId
Gets the TrackableId associated with this cloud reference point.
trackingState
TrackingState
Gets the TrackingState associated with this cloud reference point.

Public functions

Update()
void
Unity Update method.

Properties

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. This Id is provided on the device hosting the cloud reference point, and is used to resolve a corresponding cloud reference point on other devices. See ARReferencePointManagerExtensions.ResolveCloudReferencePoint() for more information.

cloudReferenceState

CloudReferenceState cloudReferenceState

Gets the CloudReferenceState associated with cloud reference point.

pose

Pose pose

Gets the Pose associated with this cloud reference point.

trackableId

TrackableId trackableId

Gets the TrackableId associated with this cloud reference point.

trackingState

TrackingState trackingState

Gets the TrackingState associated with this cloud reference point.

Public functions

Update

void Update()

Unity Update method.