AnimationCurve

More information can be found in the Unity API Reference and maybe in the Unity Manual.

Constructors

Constructor

Description

AnimationCurve()

Members

Member

Description

length

Details

class AnimationCurve
AnimationCurve AnimationCurve()
const int length
int AddKey(float time, float value)
float Evaluate(float time)
int GetHashCode()
void RemoveKey(int index)
void SmoothTangents(int index, float weight)
string ToString()
static AnimationCurve Constant(float timeStart, float timeEnd, float value)
static AnimationCurve EaseInOut(float timeStart, float valueStart, float timeEnd, float valueEnd)
static AnimationCurve Linear(float timeStart, float valueStart, float timeEnd, float valueEnd)