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

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
cThe new animation curve.
nameThe name of the property.

Description

The new animation curve value.

Automatically changes overridden state for this property to true.