Access FOV, Position, Rotation of ARCamera component in Unity
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.
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.
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.
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.