Home > decentraland-ecs > Matrix > Translation
Creates a translation matrix
Signature:
static Translation(x: number, y: number, z: number): Matrix;
Returns: Matrix
the new matrix
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 |