format
typescript
Matrix4x4.SetColumn(index, column)class: Matrix4x4
description
Set the specified column data of the matrix.
parameter
| param_name | type | description |
|---|---|---|
| index | number | The index of the column. |
| column | Vector4 | The vector value of the column. |
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 column of the matrix
matrix.SetColumn(0, column);