Skip to main content

Matrix4x4.GetRow(number index)

Returns a row of the matrix.

Parameters:

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

Returns:

typeDescription
Vector4The i-th row is returned as a Vector4

Usage

---@type Matrix4x4
local matrix4x4;

---@type number
local index;


local val0 = matrix4x4.GetRow(index)