IDP.Math.KGeomLib.createTranslationMatrix4() method
创建平移变换矩阵。
Create an translation transform matrix.
Signature:
createTranslationMatrix4(x: number, y: number, z: number): KMatrix4;
Links: createTranslationMatrix4(x: number, y: number, z: number): KMatrix4;
Parameters
Parameter | Type | Description |
---|---|---|
x | number | x方向平移分量。 The amount to translate in the X axis. |
y | number | y方向平移分量。 The amount to translate in the Y axis. |
z | number | z方向平移分量。 The amount to translate in the Z axis. |
Returns:
平移变换矩阵。
The translation transform matrix.