AnimationCurve

More information can be found in the Unity API Reference

Constructors

Constructor

Description

AnimationCurve()

Members

Member

Description

length

Methods

Method

Description

AddKey(time, value)

Evaluate(time)

GetHashCode()

RemoveKey(index)

SmoothTangents(index, weight)

ToString()

Static methods

Method

Description

Constant(timeStart, timeEnd, value)

EaseInOut(timeStart, valueStart, timeEnd, valueEnd)

Linear(timeStart, valueStart, timeEnd, valueEnd)

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)