Skip to main content

Matrix4x4.SetColumn(number index, Vector4 column)

Sets a column of the matrix.

Parameters:

NameTypeDescription
indexnumberThe index of the column. Must be 1 to 4 inclusive.
columnVector4column to be set

Usage

---@type Matrix4x4
local matrix4x4;

---@type number
local index;

---@type Vector4
local column;


matrix4x4.SetColumn(index, column)

Extra Detail

You use this to build transformation matrices using right, up and forward vectors: