EnableKeyword
7/14/25Less than 1 minute
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)
