Skip to main content

Material.GetMatrix(string name)

Get a named matrix value from the shader.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
Matrix4x4the named matrix value from the shader.

Usage

---@type Material
local material;

---@type string
local name;


local val0 = material.GetMatrix(name)