This version of Unity is unsupported.

VisualEffect.SetVector2

Declaration

public void SetVector2(int nameID, Vector2 v);

Declaration

public void SetVector2(string name, Vector2 v);

Parameters

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name The name of the property.
v The new Vector2 value.

Description

The new Vector2 value.

Automatically changes overridden state for this property to true.