기술 자료

Unity Engine

Unity Engine

SetGlobalMatrix

Add a "set global shader matrix property" command.
읽는 시간 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.