기술 자료

Unity Engine

Unity Engine

SetGlobalColor

Add a "set global shader color property" command.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetGlobalColor(int, Color)

Add a "set global shader color property" command.
public void SetGlobalColor(int nameID, Color value)

Parameters

nameID


value

Remarks

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

SetGlobalColor(string, Color)

Add a "set global shader color property" command.
public void SetGlobalColor(string name, Color value)

Parameters

name


value

Remarks

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