Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.SetVector4

Switch to Manual
public void SetVector4 (int nameID, Vector4 v);
public void SetVector4 (string name, Vector4 v);

Parameters

nameID通过 Shader.PropertyToID 检索的属性的名称 ID。
name属性的名称。
vThe new Vector4 value.

Description

Sets a named Vector4 value.

Automatically changes overridden state for this property to true.