Version: 2017.2
public static Matrix4x4 Scale (Vector3 vector);

Descripción

Crea una matriz de escalamiento.

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

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

See Also: TRS, Rotate, Translate, SetTRS functions.