docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetPointCloudData

    GetPointCloudData(TrackableId, Allocator)

    Generate point cloud data (positions, confidence values, and identifiers) for the point cloud with the given trackableId.

    Declaration
    public abstract XRPointCloudData GetPointCloudData(TrackableId trackableId, Allocator allocator)
    Parameters
    Type Name Description
    TrackableId trackableId

    The point cloud for which to retrieve data.

    Allocator allocator

    The allocator to use when creating the NativeArrays in the returned XRPointCloudData.

    Returns
    Type Description
    XRPointCloudData

    A new XRPointCloudData with newly allocated NativeArrays using allocator. The caller owns the memory and is responsible for calling Dispose() on it.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023