Class ARPointCloud
Represents a detected point cloud. These are also known as feature points.
Inheritance
Object
Component
Behaviour
MonoBehaviour
ARPointCloud
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
[DefaultExecutionOrder(-2147483646)]
[DisallowMultipleComponent]
public class ARPointCloud : ARTrackable<XRPointCloud, ARPointCloud>
Properties
confidenceValues
An array of confidence values for each point in the point cloud
ranging from 0..1.
This array is parallel to positions and
identifiers. Check for existence with
confidenceValues.IsCreated
.
Declaration
public NativeArray<float>? confidenceValues { get; }
Property Value
Type | Description |
---|---|
NativeArray<float>? |
identifiers
An array of identifiers for each point in the point cloud. This array is parallel to positions and confidenceValues.
Declaration
public NativeSlice<ulong>? identifiers { get; }
Property Value
Type | Description |
---|---|
NativeSlice<ulong>? |
positions
An array of positions for each point in the point cloud. This array is parallel to identifiers and confidenceValues. Positions are provided in point cloud space, that is, relative to this ARPointCloud's local position and rotation.
Declaration
public NativeSlice<Vector3>? positions { get; }
Property Value
Type | Description |
---|---|
NativeSlice<Vector3>? |
Events
updated
Invoked whenever the point cloud is updated.
Declaration
public event Action<ARPointCloudUpdatedEventArgs> updated
Event Type
Type | Description |
---|---|
Action<ARPointCloudUpdatedEventArgs> |