Skip to content

format

typescript
Matrix4x4.SetColumn(index, column)

class: Matrix4x4

description

Set the specified column data of the matrix.

parameter

param_nametypedescription
indexnumberThe index of the column.
columnVector4The vector value of the column.

reture

typedescription
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);