Skip to content

Api > Matrix4x4 > GetRow()


Matrix4x4.GetRow(number index)⚓︎

Returns a row of the matrix.

Parameters:⚓︎

Name Type Description
index number The i-th row. Must be from 1 to 4 inclusive!

Returns:⚓︎

type Description
Vector4 The i-th row is returned as a Vector4

Usage⚓︎

---@type Matrix4x4
local matrix4x4;

---@type number
local index;


local val0 = matrix4x4.GetRow(index)