VisualEffect.SetAnimationCurve

public void SetAnimationCurve(int nameID, AnimationCurve c);
public void SetAnimationCurve(string name, AnimationCurve c);

Parameters

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
c The new animation curve.
name The name of the property.

Description

The new animation curve value.

Automatically changes overridden state for this property to true.

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