Version: 2019.2
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.GetAnimationCurve

Switch to Manual
public AnimationCurve GetAnimationCurve (int nameID);
public AnimationCurve GetAnimationCurve (string name);

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
nameThe name of the property.

Returns

AnimationCurve The exposed animation curve value (or empty animation curve if VisualEffect.HasAnimationCurve returns false).

Description

Gets a named exposed animation curve.