Home > decentraland-ecs > Matrix > FromValuesToRef
Stores a list of values (16) inside a given matrix
Signature:
static FromValuesToRef(initialM11: number, initialM12: number, initialM13: number, initialM14: number, initialM21: number, initialM22: number, initialM23: number, initialM24: number, initialM31: number, initialM32: number, initialM33: number, initialM34: number, initialM41: number, initialM42: number, initialM43: number, initialM44: number, result: Matrix): void;
Returns: void
Parameter | Type | Description |
---|---|---|
initialM11 |
number |
defines 1st value of 1st row |
initialM12 |
number |
defines 2nd value of 1st row |
initialM13 |
number |
defines 3rd value of 1st row |
initialM14 |
number |
defines 4th value of 1st row |
initialM21 |
number |
defines 1st value of 2nd row |
initialM22 |
number |
defines 2nd value of 2nd row |
initialM23 |
number |
defines 3rd value of 2nd row |
initialM24 |
number |
defines 4th value of 2nd row |
initialM31 |
number |
defines 1st value of 3rd row |
initialM32 |
number |
defines 2nd value of 3rd row |
initialM33 |
number |
defines 3rd value of 3rd row |
initialM34 |
number |
defines 4th value of 3rd row |
initialM41 |
number |
defines 1st value of 4th row |
initialM42 |
number |
defines 2nd value of 4th row |
initialM43 |
number |
defines 3rd value of 4th row |
initialM44 |
number |
defines 4th value of 4th row |
result |
Matrix |
defines the target matrix |