SetColumn
7/14/25Less than 1 minute
Matrix4x4.SetColumn(number index, Vector4 column)
Sets a column of the matrix.
Parameters:
| Name | Type | Description |
|---|---|---|
| index | number | The index of the column. Must be 1 to 4 inclusive. |
| column | Vector4 | column 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:

