This is a small sample to show the use of BrightnessOverride API in a HoloLens UWP app.
After cloning the project you will need to run the Mixed Reality Feature Tool and add in the OpenXR plugin. Documentation here
Currently builds with Unity 2021.3. HoloLens needs to have the Windows 10 Spring 2018 update or later.
The following voice commands should work:
- Off – set screen brightness to 0
- On – set screen brightness to 1
- Darker – reduce the screen brightness by 10%
- Brighter – increase the screen brightness by 10%
- Hide – hide the cube
- Show – show the cube
- Quit – quit the app