VisualEffect.SetAnimationCurve

Declaration

public void SetAnimationCurve(int nameID, AnimationCurve c);

Declaration

public void SetAnimationCurve(string name, AnimationCurve c);

Parameters

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
c The new Animation Curve.
name The name of the property.

Description

Sets the value of a named Animation Curve property.

Automatically changes overridden state for this property to true.


Did you find this page useful? Please give it a rating: