Skip to main content

Material.SetColor(string name, Color value)

Sets a named color value.

Parameters:

NameTypeDescription
namestringProperty name, e.g. "_Color".
valueColorColor value to set.

Usage

---@type Material
local material;

---@type string
local name;

---@type Color
local value;


material.SetColor(name, value)