Unity3D avoid camera autofocus Android

0 votes
asked Nov 24, 2017 by dudisitchy (140 points)
Hi, is there a way to config camera from easyAR - Unity3D to turn off the auto-focus on Android ???

Thanks !!!!

1 Answer

0 votes
answered Nov 28, 2017 by albert52 (14,550 points)
commented Dec 5, 2017 by dudisitchy (140 points)
Hi, thanks for the answer.

I tried this on ARBuilder.cs:

public void Start()
     foreach (var behaviour in CameraDeviceBehaviours)
      behaviour.Device.SetFocusMode (CameraDevice.FocusMode.Normal);

But the auto focus remains.

Can you help me?

Thanks !!!
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.