Class XRGestureSubsystem.Provider
The API this subsystem uses to interop with different provider implementations.
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()