Matrix4x4.Scale 缩放

static function Scale (v : Vector3) : Matrix4x4

Description描述

Creates a scaling matrix.

创建一个缩放矩阵。

Returned matrix is such that scales along coordinate axes by a vector v. The matrix looks like this:

返回沿着坐标轴由向量v缩放的矩阵,该矩阵看起来像这样:

v.x 0 0 0
0 v.y 0 0
0 0 v.z 0
0 0 0 1

参见: TRS函数.

Page last updated: 2011-2-26