Skip to main content

Material.GetColorArray(string name)

Get a named color array.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
Color[]the named color array.

Usage

---@type Material
local material;

---@type string
local name;


local val0 = material.GetColorArray(name)