docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MagicLeapGestureSubsystem

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

    Inheritance
    object
    MagicLeapGestureSubsystem
    Namespace: UnityEngine.XR.MagicLeap
    Assembly: UnityEngine.XR.MagicLeap.dll
    Syntax
    [Preserve]
    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 Provider CreateProvider()
    Returns
    Type Description
    Provider

    The provider interface for MagicLeap

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)