Matrix4x4.Perspective 透视

static function Perspective (fov : float, aspect : float, zNear : float, zFar : float) : Matrix4x4

Description描述

Creates a perspective projection matrix.

创建一个透视投影矩阵。

fov is the vertical field-of-view in degrees of the perspective matrix, aspect is the aspect ratio (width divided by height). zNear and zFar set up the depth clipping planes.

fov是透视矩阵的垂直视野,aspect为宽高比,zNear和zFar设置为深度裁剪平面。

参见: GL.LoadPixelMatrix, GL.LoadProjectionMatrix, GUI.matrix.

Page last updated: 2011-2-26