docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetChanges

    GetChanges(Allocator)

    Gets a TrackableChanges<T> struct containing any changes to detected planes since the last time you called this method. You are responsible to Dispose() the returned TrackableChanges instance.

    Declaration
    public override TrackableChanges<BoundedPlane> GetChanges(Allocator allocator)
    Parameters
    Type Name Description
    Allocator allocator

    An Allocator to use for the returned NativeArrays.

    Returns
    Type Description
    TrackableChanges<BoundedPlane>

    The TrackableChanges<T>.

    Overrides
    TrackingSubsystem<BoundedPlane, XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>.GetChanges(Allocator)
    Remarks

    The TrackableChanges<T> struct returned by this method contains separate Unity.Collections.NativeArray<T> objects for the added, updated, and removed planes. These arrays are created using the Unity.Collections.Allocator type specified by allocator.

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