Matrix4x4.identity 单位矩阵

static var identity : Matrix4x4

Description描述

Returns the identity matrix (Read Only).

返回单位矩阵(只读)。

This is a matrix that effectively does nothing when applied. It has 1s in the main diagonal and 0s in all other elements:

这个矩阵在使用的时不会影响任何东西。它的主对角线上全是1,其他位置全是0。

1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

参见:zero 变量

Page last updated: 2011-2-26