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

VisualEffect.SetAnimationCurve

Declaration

public void SetAnimationCurve(int nameID, AnimationCurve c);

Declaration

public void SetAnimationCurve(string name, AnimationCurve c);

Parameters

nameID The name ID of the property retrieved by Shader.PropertyToID.
c The new animation curve.
name The name of the property.

Description

Sets a named animation curve value.

Automatically changes overridden state for this property to true.