Skip to main content

Matrix4x4.GetColumn(number index)

Get a column of the matrix.
The i-th column is returned as a Vector4. i must be from 1 to 4 inclusive.

Parameters:

NameTypeDescription
indexnumberThe i-th column. Must be from 1 to 4 inclusive!

Returns:

typeDescription
Vector4The i-th column

Usage

---@type Matrix4x4
local matrix4x4;

---@type number
local index;


local val0 = matrix4x4.GetColumn(index)