Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetGlobalMatrix

Add a "set global shader matrix property" command.
Read time 1 minuteLast updated 5 days ago

Definition

SetGlobalMatrix(int, Matrix4x4)

Add a "set global shader matrix property" command.
public void SetGlobalMatrix(int nameID, Matrix4x4 value)

Parameters

nameID


Remarks

When the command buffer will be executed, a global shader matrix property will be set at this point. The effect is as if Shader.SetGlobalMatrix was called.

SetGlobalMatrix(string, Matrix4x4)

Add a "set global shader matrix property" command.
public void SetGlobalMatrix(string name, Matrix4x4 value)

Parameters

Remarks

When the command buffer will be executed, a global shader matrix property will be set at this point. The effect is as if Shader.SetGlobalMatrix was called.