Log in or register to post comments

Camera Focus

August 21, 2015 - 9:15am #7

Hi, is there anyway I can code auto focus in unity extension. 

Thanks, Dan.

Camera Focus

August 24, 2015 - 6:21pm #6

You can call:

CameraDevice.Instance.SetFocusMode(FocusMode mode);

See which focus modes are available: CameraDevice

 

Camera Focus

January 22, 2016 - 12:24pm #5

Hello dm3d, can you tell me please, where exactly you can write this row of code? Into which script I mean?

Camera Focus

December 21, 2016 - 12:24pm #4

Yes to this.  I see several threads here with a line of code to focus the camera, but no instructions on where and how to attach this code.

I, too, am getting a blurry camera when testing on an Android. Shouldn't this behavior be something that is defined as a property that is visible in the Unity property inspector?

If we need to add code, please provide step-by-step instructions.

 

Camera Focus

January 2, 2017 - 10:26pm #3

The solution to this problem is described in this thread.

https://developer.vuforia.com/forum/unity-extension-technical-discussion/camera-focus-mode-android-unity

Hope this helps.

Thanks

Camera Focus

January 13, 2017 - 3:01am #2

where you want to insert?

Camera Focus

January 13, 2017 - 3:02am #1

where you want to insert?

Log in or register to post comments