Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetGlobalVectorArray

Add a "set global shader vector array property" command.
Read time 1 minuteLast updated 5 days ago

Definition

SetGlobalVectorArray(int, Vector4[])

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(int nameID, Vector4[] values)

Parameters

nameID


values

Remarks

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

SetGlobalVectorArray(string, List<Vector4>)

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(string propertyName, List<Vector4> values)

Parameters

propertyName


Remarks

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

SetGlobalVectorArray(int, List<Vector4>)

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(int nameID, List<Vector4> values)

Parameters

nameID


Remarks

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

SetGlobalVectorArray(string, Vector4[])

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(string propertyName, Vector4[] values)

Parameters

propertyName


values

Remarks

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