SetGlobalColor
Add a "set global shader color property" command.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SetGlobalColor(int, Color)
Add a "set global shader color property" command.
public void SetGlobalColor(int nameID, Color value)
Parameters
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
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.