ドキュメント

Unity Engine

Unity Engine

SetGlobalVector

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

Definition

SetGlobalVector(int, Vector4)

Add a "set global shader vector property" command.
public void SetGlobalVector(int nameID, Vector4 value)

Parameters

nameID


value

Remarks

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

SetGlobalVector(string, Vector4)

Add a "set global shader vector property" command.
public void SetGlobalVector(string name, Vector4 value)

Parameters

name


value

Remarks

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