Api > Material > EnableKeyword()
Material.EnableKeyword(string keyword)⚓︎
Enables a local shader keyword for this material.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
keyword | string | The name of the local shader keyword to enable. |
Usage⚓︎
---@type Material
local material;
---@type string
local keyword;
material.EnableKeyword(keyword)