docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRParticipantSubsystem.Provider

    The API this subsystem uses to interact with different provider implementations.

    Inheritance
    object
    SubsystemProvider
    SubsystemProvider<XRParticipantSubsystem>
    XRParticipantSubsystem.Provider
    Inherited Members
    SubsystemProvider<XRParticipantSubsystem>.TryInitialize()
    SubsystemProvider<XRParticipantSubsystem>.Start()
    SubsystemProvider<XRParticipantSubsystem>.Stop()
    SubsystemProvider<XRParticipantSubsystem>.Destroy()
    SubsystemProvider.running
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public abstract class XRParticipantSubsystem.Provider : SubsystemProvider<XRParticipantSubsystem>

    Methods

    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 © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)