Method SetColor
SetColor(string, Color)
Sets the value of a color shader global and adds it to the list of globals to transfer via PolySpatial.
Declaration
public static void SetColor(string name, Color value)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the shader global to set. |
Color | value | The new value for the shader global. |