Animation curve links an input data set to an output data set and defines the interpolation method to use.
Create a new animation curve
index of the curve which specifies the key data.
index of the curve which specifies the value data.
the interpolation method to use. One of the following: