Skip to main content

Material.SetInt(string name, number value)

Sets a named integer value.

Parameters:

NameTypeDescription
namestringProperty name, e.g. "_SrcBlend".
valuenumberInteger value to set.

Usage

---@type Material
local material;

---@type string
local name;

---@type number
local value;


material.SetInt(name, value)