Class ARPointCloud
Represents a detected point cloud. These are also known as feature points.
Inheritance
ARPointCloud
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.ARFoundation
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(-2147483646)]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.ARPointCloud.html")]
public class ARPointCloud : ARTrackable<XRPointCloud, ARPointCloud>
Properties
Name | Description |
---|---|
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
|
identifiers | An array of identifiers for each point in the point cloud. This array is parallel to positions and confidenceValues. |
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. |
Events
Name | Description |
---|---|
updated | Invoked whenever the point cloud is updated. |