Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 723 Bytes

decentraland-ecs.matrix.translationtoref.md

File metadata and controls

21 lines (15 loc) · 723 Bytes

Home > decentraland-ecs > Matrix > TranslationToRef

Matrix.TranslationToRef method

Creates a translation matrix and stores it in a given matrix

Signature:

static TranslationToRef(x: number, y: number, z: number, result: Matrix): void;

Returns: void

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
result Matrix defines the target matrix