docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetChanges

    GetChanges(Allocator)

    Get changes to XRTrackedObjects (added, updated, and removed) since the last call to this method. The caller owns the memory allocated with allocator.

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

    The allocator to use for the returned arrays of changes.

    Returns
    Type Description
    TrackableChanges<XRTrackedObject>

    A new TrackableChanges<T> allocated with allocator. The caller owns the memory and is responsible for calling Dispose on it.

    Overrides
    TrackingSubsystem<XRTrackedObject, XRObjectTrackingSubsystem, XRObjectTrackingSubsystemDescriptor, XRObjectTrackingSubsystem.Provider>.GetChanges(Allocator)
    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023