Skip to main content
Version: 10 Jul 2024

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