"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

How to activate the camera flash with the latest vuforia version?

The code below that I used in previous versions doesn't seem to work on multiple devices.

 

CameraDevice.Instance.SetFlashTorchMode(true);

Hi,

We demo the Flash on/off option in our Core Sample app, available in the Unity asset store.

In the Image Target scene, MenuOptions.cs and CameraSettings.cs we use CameraDevice.Instance.SetFlashTorchMode(ON)) to activate Flash.