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