Log in or register to post comments

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

September 13, 2020 - 6:05am #1

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

 

CameraDevice.Instance.SetFlashTorchMode(true);

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

September 14, 2020 - 3:14am #2

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.

I've tested the behavior on an iOS device and the toggling worked as expected.

Could you please confirm the SDK version and on which device you tested?

Thank you.

Vuforia Engine Support

Log in or register to post comments