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

VisualEffect.GetAnimationCurve

Declaration

public AnimationCurve GetAnimationCurve(int nameID);

Declaration

public AnimationCurve GetAnimationCurve(string name);

Parameters

nameID The name ID of the property retrieved by Shader.PropertyToID.
name The 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.