Light Estimation Overview
The Magic Leap 2 Light Estimation OpenXR feature allows developers to detect the lighting in a physical space. You can estimate light direction and color.
NameSpace
using MagicLeap.OpenXR.Features.LightEstimation;
caution
This feature requires the CAMERA
permission to be enabled in your project's Manifest Settings. (Edit > Project Settings > Magic Leap > Manifest Settings)
caution
This feature requires the Magic Leap 2 Light Estimation OpenXR Feature to be enabled in your project's OpenXR Settings (Window > XR Plugin Manager > OpenXR Settings).
Learn More
📄️ Light Estimation API Overview
This section provides an overview and API references for the the Magic Leap 2 Light Estimation OpenXR Feature.
📄️ Light Estimation Example
This section includes an example of detecting environment lighting on the Magic Leap 2 headset.