Method SetKeyword
SetKeyword(Material[], String, Boolean)
Sets a keyword state to all materials in the array.
Declaration
public static void SetKeyword(this Material[] materials, string keyword, bool state)
Parameters
| Type | Name | Description |
|---|---|---|
| Material[] | materials | Material array this method extends to. |
| String | keyword | The keyword that is being toggled. |
| Boolean | state | Toggle value. |