Skip to main content

Material.DisableKeyword(string keyword)

Disables a local shader keyword for this material.

Parameters:

NameTypeDescription
keywordstringThe name of the local shader keyword to disable.

Usage

---@type Material
local material;

---@type string
local keyword;


material.DisableKeyword(keyword)