Class MagicLeapGestureSubsystem | Magic Leap XR Plugin | 5.0.1-preview.1
docs.unity.cn
    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
    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 Provider CreateProvider()
    Returns
    Type Description
    Provider

    The provider interface for MagicLeap

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX