docs.unity3d.com
    Show / Hide Table of Contents

    Class ARPointCloud

    Represents a detected point cloud, aka feature points.

    Inheritance
    Object
    ARTrackable<XRPointCloud, ARPointCloud>
    ARPointCloud
    Inherited Members
    ARTrackable<XRPointCloud, ARPointCloud>.destroyOnRemoval
    ARTrackable<XRPointCloud, ARPointCloud>.trackableId
    ARTrackable<XRPointCloud, ARPointCloud>.trackingState
    ARTrackable<XRPointCloud, ARPointCloud>.pending
    ARTrackable<XRPointCloud, ARPointCloud>.sessionRelativeData
    ARTrackable<XRPointCloud, ARPointCloud>.OnAfterSetSessionRelativeData()
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    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<Single>

    identifiers

    An array of identifiers for each point in the point cloud. This array is parallel to positions and confidenceValues. Check for existence with identifiers.IsCreated.

    Declaration
    public NativeArray<ulong> identifiers { get; }
    Property Value
    Type Description
    NativeArray<UInt64>

    positions

    An array of positions for each point in the point cloud. This array is parallel to identifiers and confidenceValues. Check for existence with positions.IsCreated. Positions are provided in point cloud space, that is, relative to this ARPointCloud's local position and rotation.

    Declaration
    public NativeArray<Vector3> positions { get; }
    Property Value
    Type Description
    NativeArray<Vector3>

    Events

    updated

    Invoked whenever the point cloud is updated.

    Declaration
    public event Action<ARPointCloudUpdatedEventArgs> updated
    Event Type
    Type Description
    Action<ARPointCloudUpdatedEventArgs>
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, January 7, 2022
    Terms of use