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