跳到主要内容

IDP.Math.KGeomLib.createScaleMatrix4() method

创建缩放矩阵。

Create a matrix as scale transform.

Signature:

createScaleMatrix4(x: number, y: number, z: number): KMatrix4;

Links: createScaleMatrix4(x: number, y: number, z: number): KMatrix4;

Parameters

Parameter

Type

Description

x

number

x方向缩放分量。

The amount to scale in the X axis.

y

number

y方向缩放分量。

The amount to scale in the Y axis.

z

number

z方向缩放分量。

The amount to scale in the Z axis.

Returns:

KMatrix4

缩放矩阵。

The scale transform matrix.