Matrix4x4 矩阵

Struct

A standard 4x4 transformation matrix.

一个标准的4x4变换矩阵。

A transformation matrix can perform arbitrary linear 3D transformations (i.e. translation, rotation, scale, shear etc.) and perspective transformations using homogenous coordinates. You rarely use matrices in scripts; most often using Quaternions and functionality of Transform class is more straightforward. Plain matrices are used in special cases like setting up nonstandard camera projection.

一个变换矩阵可以执行任意的线形3D变换(例如,平移,旋转,缩放,切边等等)并且透视变换使用齐次坐标。脚本中很少使用矩阵:最常用Vector3,Quaternion,而且Transform类的功能更简单。单纯的矩阵用于特殊情况,如设置非标准相机投影。

Consult any graphics textbook for in depth explanation of transformation matrices.

参考任何图形学教程获取关于变换矩阵的深入讲解。

In Unity, Matrix4x4 is used by several Transform, Camera, Material and GL functions.

在Unity中,Matrix4x4被Transform,Camera,Material和GL几个函数使用。

Variables变量

Functions函数

Class Variables类变量

Class Functions类函数

Page last updated: 2011-2-26