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.
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponentIndex()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: UnityEngine.XR.MagicLeap
Assembly: UnityEngine.XR.MagicLeap.dll
Syntax
[DisallowMultipleComponent]
public sealed class MagicLeapGestures : MonoBehaviour
Properties
controllerGesturesEnabled
Getter/Setter to determine if the controller Gestures are enabled.
Declaration
public bool controllerGesturesEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
gestureSubsystem
Get the MagicLeapGestureSubsystem
whose lifetime this component manages.
Declaration
public MagicLeapGestureSubsystem gestureSubsystem { get; }
Property Value
Type | Description |
---|---|
MagicLeapGestureSubsystem |
Events
onActivate
This event is invoked whenever a ActivateGestureEvent is received by the gestures subsystem.
Declaration
public event Action<ActivateGestureEvent> onActivate
Event Type
Type | Description |
---|---|
Action<ActivateGestureEvent> |
onTouchpadGestureChanged
This event is invoked whenever a MagicLeapTouchpadGestureEvent is received by the gestures subsystem.
Declaration
public event Action<MagicLeapTouchpadGestureEvent> onTouchpadGestureChanged
Event Type
Type | Description |
---|---|
Action<MagicLeapTouchpadGestureEvent> |