Skip to main content
Version: 17 Jan 2024



The Magic Leap Unity API exposes audio, gestures, multimedia, planes, and other features of the Magic Leap platform. These features are available under the namespace UnityEngine.XR.MagicLeap.

Detailed struct and enum descriptions are sometimes found in the C API Reference. For example:

Details about...can be found in the C API Reference under...
MLWorldPlanePlanes variables
MLMediaPlayerResultml_media_error.h enumeration types
MLInputControllerButtonml_input.h enumeration types