Skip to main content
Version: 21 Aug 2024

Gesture Classification

Prerequisites

  • Unity Editor 2022.2
  • Magic Leap XR Package 7.0.0-preview
  • Latest MagicLeap.unitypackage (installable via the App Sim)

Project Setup

note

For instructions on installing the SDK Examples Project and building this scene, follow the Examples Project Install Guide.

  1. Follow our Unity Getting Started Guides to set up your development environment and ensure Unity is configured correctly.
  2. When you import the Magic Leap Unity Package, you'll see the GestureClassification Example scene located under MagicLeap/Examples/Scenes.
  3. Go to Edit > Project Settings > Magic Leap > Manifest Settings and enable permissions for Hand_Tracking.
  4. Add the GestureClassification scene to the list of scenes to build, build the APK, and install to the device.

How to Use

During Runtime

While the app is running, if Gestures are used, the user must have visible hands for data to populate.

Additional Info

Refer to the Gesture Classification API for more information.