Class MagicLeapGestures
Controls the lifecycle and configuration options for a Magic Leap gesture subsystem. There
is only one active Magic Leap Gestures. The event callbacks will inform code of when gesture events occur.
Inheritance
MagicLeapGestures
Syntax
public sealed class MagicLeapGestures : MonoBehaviour
Properties
controllerGesturesEnabled
Declaration
public bool controllerGesturesEnabled { get; set; }
Property Value
gestureSubsystem
Get the MagicLeapGestureSubsystem
whose lifetime this component manages.
Declaration
public MagicLeapGestureSubsystem gestureSubsystem { get; }
Property Value
handGesturesEnabled
Declaration
public bool handGesturesEnabled { get; set; }
Property Value
Events
onActivate
Declaration
public event Action<ActivateGestureEvent> onActivate
Event Type
onKeyPoseGestureChanged
Declaration
public event Action<MagicLeapKeyPoseGestureEvent> onKeyPoseGestureChanged
Event Type
onTouchpadGestureChanged
Declaration
public event Action<MagicLeapTouchpadGestureEvent> onTouchpadGestureChanged
Event Type