Skip to main content
Version: 21 Aug 2024

Gesture Classification Overview

Overview

Magic Leap's Gesture Classification API allows developers create interactions based on a user's hand pose. It provides access to calculate specific KeyPoses and more inclusive Postures. The API can also be used to query finger specific data such as : a finger's length and if the finger is fully extended or not.

Supported Key PosesSupported Postures
OK , C , Pinch , Finger , L , Thumb , Fist , OpenPinch , Point , Grasp , Open

Namespace

Classes that are related the gesture classification API can be found in the following namespaces.

using UnityEngine.XR;
using UnityEngine.XR.MagicLeap;

Requirements

The Hand Tracking API requires the Hand Tracking permissions to be declared in the application's Manifest. To do this Go to Edit > Project Settings > Magic Leap > Manifest Settings and enable Hand_Tracking. For more information, refer to the permissions guide.