Home > decentraland-ecs > Matrix > multiplyToArray
Sets the FloatArray "result" from the given index "offset" with the multiplication of the current matrix and the given one
Signature:
multiplyToArray(other: Readonly<Matrix>, result: FloatArray, offset: number): Matrix;
Returns: Matrix
the current matrix
Parameter | Type | Description |
---|---|---|
other |
Readonly<Matrix> |
defines the second operand |
result |
FloatArray |
defines the array where to store the multiplication |
offset |
number |
defines the offset in the target array where to start storing values |