Hey guys,
I was wondering if it’s possible to set the brightness value through a unity app on run time.
Thanks!
Unity Editor version: 2022.3.16f1
ML2 OS version:1.11.0
Unity SDK version:1.12.1
Host OS: Windows
Hey guys,
I was wondering if it’s possible to set the brightness value through a unity app on run time.
Thanks!
Unity Editor version: 2022.3.16f1
ML2 OS version:1.11.0
Unity SDK version:1.12.1
Host OS: Windows
Hey @GalLibba,
It depends on what you mean specifically in terms of ‘brightness’
The ML2 has Global Dimming and Segmented Dimming features that you can configure at runtime in a Unity application.
Global Dimming adjusts the transparency of the Magic Leap’s display. This functionality can be used to make sure your content is visible in a variety of lighting conditions. (Overall display)
Global Dimming | MagicLeap Developer Documentation
Segmented Dimming uses the Alpha buffer to automatically generate a dimmer mask, making the content appear more opaque by selectively dimming pixels. (Individual pixel/mesh display)
Segmented Dimming | MagicLeap Developer Documentation
The above resources should be able to get you started on a desired solution!
Please let me know if you get it working!
Best,
Corey
Hey Corey,
Thanks for your replay. I’m aware of the dimming options. My problem is a bit different tough. I want to manually control the device’s brightness setting from uthenity app on run time.