format
typescript
Matrix4x4.SetRow(index, column)class: Matrix4x4
description
Set the data of a specific row in the matrix.
parameter
| param_name | type | description |
|---|---|---|
| index | number | The index of the row. |
| column | Vector4 | The vector value of the row. |
reture
| type | description |
|---|---|
void |
code example
typescript
let matrix = new Matrix4x4();
let column = new Vector4(1,1,1,1);
// Set the data of the first row in the matrix
matrix.SetRow(0, column);