Create Camera From Viewport

I am trying to write a function for the editor implementing something similar to the one in 3ds Max – “Create Camera From View”.

To do this, I need the default editor camera’s parameters(FOV, position, orientation, etc) used to render the perspective view shown in the ‘scene’ tab.

How/Where could I access these info? Is it described in the manual or somewhere?

Thanks.

2 Answers

2

http://forum.unity3d.com/threads/31757-Unity3d-Editor-camera

Thanks, will give it a try.