Class XRGestureSubsystem.Provider | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRGestureSubsystem.Provider

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

    Inheritance
    System.Object
    XRGestureSubsystem.Provider
    Namespace: UnityEngine.XR.InteractionSubsystems
    Syntax
    protected abstract class Provider

    Fields

    m_ActivateGestureEvents

    Declaration
    protected NativeArray<ActivateGestureEvent> m_ActivateGestureEvents
    Field Value
    Type Description
    NativeArray<ActivateGestureEvent>

    Properties

    activateGestureEvents

    Declaration
    public NativeArray<ActivateGestureEvent> activateGestureEvents { get; }
    Property Value
    Type Description
    NativeArray<ActivateGestureEvent>

    Methods

    Destroy()

    Stop the Gesture subsystem and destroy all associated resources.

    Declaration
    public virtual void Destroy()

    Start()

    Invoked to start or resume a Gesture subsystem.

    Declaration
    public abstract void Start()

    Stop()

    Invoked to stop a running Gesture subsystem.

    Declaration
    public abstract void Stop()

    Update()

    Perform any per-frame update logic here.

    Declaration
    public abstract void Update()
    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