Class MagicLeapGestureSubsystem
MagicLeap implementation of the XRGestureSubsystem
. Do not create this directly. Use the SubsystemManager
instead.
Inherited Members
UnityEngine.XR.InteractionSubsystems.XRGestureSubsystem.OnDestroy()
Namespace: UnityEngine.XR.MagicLeap
Syntax
public sealed class MagicLeapGestureSubsystem : XRGestureSubsystem
Properties
keyPoseGestureEvents
A collection of all MagicLeapKeyPoseGestureEvents managed by this subsystem. This is cleared every frame and refreshed with new gesture events.
Declaration
public NativeArray<MagicLeapKeyPoseGestureEvent> keyPoseGestureEvents { get; }
Property Value
Type | Description |
---|---|
NativeArray<MagicLeapKeyPoseGestureEvent> |
touchpadGestureEvents
A collection of all MagicLeapTouchpadGestureEvents managed by this subsystem. This is cleared every frame and refreshed with new gesture events.
Declaration
public NativeArray<MagicLeapTouchpadGestureEvent> touchpadGestureEvents { get; }
Property Value
Type | Description |
---|---|
NativeArray<MagicLeapTouchpadGestureEvent> |
Methods
CreateProvider()
Creates the provider interface.
Declaration
protected override XRGestureSubsystem.Provider CreateProvider()
Returns
Type | Description |
---|---|
XRGestureSubsystem.Provider | The provider interface for MagicLeap |