List
Access FOV, Position, Rotation of ARCamera component in Unity
Posted Date: 2018-08-02 13:17     Edited Date: 2018-08-06 2:42     Writer: inactive

Hi all,

Is it possible to access the real FOV, Position, Rotation values of the ARCamera component in Unity?

It seems that ARManager overrides the values shown in the editor. I need them to make a transition between AR and normal cameras.

I also noticed that camera effect scripts applied to ARCamera component don't work. Is there a solution for that?

Thanks for the help.

Posted Date: 2018-08-03 8:39     Edited Date: 2018-08-03 8:39     Writer: slkim

if you access ARCamera for write, that is impossible. because Fov, position in ARCamera is set value by SDK engine.

but. you can make two cameras in unity scene. you do to make for two camera for switch to between arcamera or normal camera.

Posted Date: 2018-08-03 9:20     Edited Date: 2018-08-03 9:20     Writer: inactive

Hi slkim,

Thanks for your reply.

I know that the FOV, position and rotation are set by the ARManager.

I don't need to write them, I only need to read the right values and apply them to the normal camera. It seems that the values shown in the editor are not the real values.

Posted Date: 2018-08-06 2:42     Edited Date: 2018-08-06 2:42     Writer: slkim

If you select ARManager in Unity, you will see World Center Mode in the Inspector.  Change Mode to Target. you can see move transfrom of the camera in ARManager. Please check that is you want.