ドキュメント

Unity Engine

Unity Engine

SetGlobalMatrix

Add a "set global shader matrix property" command.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.