docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetChanges

    GetChanges(XRPointCloud, Allocator)

    Get the changes to planes (added, updated, and removed) since the last call to GetChanges(XRPointCloud, Allocator).

    Declaration
    public abstract TrackableChanges<XRPointCloud> GetChanges(XRPointCloud defaultPointCloud, Allocator allocator)
    Parameters
    Type Name Description
    XRPointCloud defaultPointCloud

    The default point cloud. This should be used to initialize the returned NativeArrays for backwards compatibility. See TrackableChanges(void*, int, void*, int, void*, int, T, int, Allocator).

    Allocator allocator

    An Allocator to use when allocating the returned NativeArrays.

    Returns
    Type Description
    TrackableChanges<XRPointCloud>

    TrackableChanges<T> describing the reference points that have been added, updated, and removed since the last call to GetChanges(XRPointCloud, Allocator). The changes should be allocated using allocator.

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