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

VisualEffect.SetAnimationCurve

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

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
cThe new animation curve.
nameThe name of the property.

Description

Sets a named animation curve value.

Automatically changes overridden state for this property to true.