Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 623 Bytes

decentraland-ecs.matrix.translation.md

File metadata and controls

22 lines (15 loc) · 623 Bytes

Home > decentraland-ecs > Matrix > Translation

Matrix.Translation method

Creates a translation matrix

Signature:

static Translation(x: number, y: number, z: number): Matrix;

Returns: Matrix

the new matrix

Parameters

Parameter Type Description
x number defines the translation on X axis
y number defines the translation on Y axis
z number defines the translationon Z axis