Skip to main content

Material.SetColorArray(string name, Color[] values)

Sets a color array property.

Parameters:

NameTypeDescription
namestringProperty name.
valuesColor[]Array of values to set.

Usage

---@type Material
local material;

---@type string
local name;

---@type Color
local values;


material.SetColorArray(name, values)