기술 자료

Unity Engine

Unity Engine

SetGlobalVector

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