This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.SetVector4

Declaration

public void SetVector4(int nameID, Vector4 v);

Declaration

public void SetVector4(string name, Vector4 v);

Parameters

nameID The name ID of the property retrieved by Shader.PropertyToID.
name The name of the property.
v The new Vector4 value.

Description

Sets a named Vector4 value.

Automatically changes overridden state for this property to true.