docs.unity.cn
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
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023