Skip to content

Api > Matrix4x4 > SetRow()


Matrix4x4.SetRow(number index, Vector4 row)⚓︎

Sets a row of the matrix.

Parameters:⚓︎

Name Type Description
index number The i-th row is set from v. i must be from 1 to 4 inclusive.
row Vector4 The row to be set

Usage⚓︎

---@type Matrix4x4
local matrix4x4;

---@type number
local index;

---@type Vector4
local row;


matrix4x4.SetRow(index, row)

Extra Detail⚓︎

The i-th row is set from v. i must be from 1 to 4 inclusive.