public AnimationCurve GetAnimationCurve (int nameID);
public AnimationCurve GetAnimationCurve (string name);

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.

Returns

AnimationCurve The value for the animation curve you specify. Returns an empty animation curve if VisualEffect.HasAnimationCurve returns false.

Description

Gets the value of a named animation curve property