Unity3d Camera size

The height is 2 * size, and the width is height * aspect. You can calculate them with these instructions:

var height = 2*Camera.main.orthographicSize;
var width = height*Camera.main.aspect;

 

http://answers.unity3d.com/questions/174002/what-is-the-relationship-between-camera-size-units.html

posted @ 2012-08-30 20:35  Clin  阅读(609)  评论(0编辑  收藏  举报