Skip to main content
Version: 21 Aug 2024

GestureSubsystemComponent

NameSpace: MagicLeap

Inherits from:
MonoBehaviour

Detailed Description

public class GestureSubsystemComponent : MonoBehaviour 

Details*

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.


Public Fields

controllerGesturesEnabled


public bool controllerGesturesEnabled { get; set; }


gestureSubsystem

Get the MagicLeapGestureSubsystem whose lifetime this component manages.


public GestureSubsystem gestureSubsystem { get; set; }

TypeDescription
GestureSubsystemMagicLeap implementation of the XRGestureSubsystem . Do not create this directly. Use the SubsystemManager instead.

Public Events

onActivate

This event is invoked whenever a ActivateGestureEvent is received by the gestures subsystem.

public Action< ActivateGestureEvent > onActivate()

onTouchpadGestureChanged

This event is invoked whenever a MagicLeapTouchpadGestureEvent is received by the gestures subsystem.

public Action< GestureSubsystem.Extensions.TouchpadGestureEvent > onTouchpadGestureChanged()