Skip to main content

Material.EnableKeyword(string keyword)

Enables a local shader keyword for this material.

Parameters:

NameTypeDescription
keywordstringThe name of the local shader keyword to enable.

Usage

---@type Material
local material;

---@type string
local keyword;


material.EnableKeyword(keyword)