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