VisualEffect.SetVector4

Declaration

public void SetVector4(int nameID, Vector4 v);

Declaration

public void SetVector4(string name, Vector4 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 Vector4 value.

Description

Sets the value of a named Vector4 or Color property.

Automatically changes overridden state for this property to true.


Did you find this page useful? Please give it a rating: