docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetChanges

    GetChanges(XRParticipant, Allocator)

    Get the changed participants (added, updated, and removed) since the last call to GetChanges(XRParticipant, Allocator).

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

    The default participant. 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<XRParticipant>

    TrackableChanges<T> that describes the participants that have been added, updated, and removed since the last call to GetChanges(XRParticipant, 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