Camera 摄像机

Inherits from Behaviour

A Camera is a device through which the player views the world.

Camera是一个设备,玩家通过它看世界。

A screen space point is defined in pixels. The bottom-left of the screen is (0,0); the right-top is (pixelWidth,pixelHeight). The z position is in world units from the camera.

屏幕空间点用像素定义,屏幕的左下为(0,0);右上是(PixelWidth,pixelHeight).Z的位置是以世界单位衡量的到相机的距离。

A viewport space point is normalized and relative to the camera. The bottom-left of the camera is (0,0); the top-right is (1,1). The z position is in world units from the camera.

视口空间点是归一化的并相对于相机的。相机的左下为(0,0);右上是(1,1);Z的位置是以世界为单位衡量的到相机的距离。

A world space point is defined in global coordinates (eg. Transform.position).

世界空间点是以全局坐标定义的(例如:Transform.position

Variables变量

Functions函数

Messages Sent发送消息

Class Functions类函数

Inherited members继承成员

Inherited Variables继承变量

Inherited Functions继承函数

Inherited Class Functions继承类函数

Page last updated: 2011-7-20