Class EaseCurveList
See Also: Class ReferenceTarget, Class Control.
class EaseCurveList : public ReferenceTarget
Description:
This class represents a list of ease curves.
The macro used to access this class is defined as follows:
#define GetEaseListInterface(anim) ((EaseCurveList*)anim->GetInterface(I_EASELIST))
This may be used to access the methods of this class as follows:
EaseCurveList *el = GetEaseListInterface(client);
if (el) {
int num = el->NumEaseCurves();
// ...
All methods of this class are implemented by the system.
Methods:
Prototype:
EaseCurveList();
Remarks:
Constructor.
Prototype:
~EaseCurveList();
Remarks:
Destructor. All the references are deleted from this class.
Prototype:
TimeValue ApplyEase(TimeValue t,Interval &valid);
Remarks:
Returns a TimeValue that reflects the TimeValue passed modified by each of the enabled ease curves in the list.
Parameters:
TimeValue t
The base time which is eased by the curves.
Interval &valid
The validity interval which is updated by each of the ease curves in the list.
Prototype:
void AppendEaseCurve(Control *cont);
Remarks:
Adds the specified ease curve to the end of the ease curve list.
Parameters:
Control *cont
Points to the ease curve to append.
Prototype:
void DeleteEaseCurve(int i);
Remarks:
Deletes the 'i-th' ease curve in the list.
Parameters:
int i
The index of the ease curve to delete.
Prototype:
void DisableEaseCurve(int i);
Remarks:
Disables the 'i-th' ease curve in the list.
Parameters:
int i
The index of the ease curve to disable.
Prototype:
void EnableEaseCurve(int i);
Remarks:
Enables the 'i-th' ease curve in the list.
Parameters:
int i
The index of the ease curve to enable.
Prototype:
BOOL IsEaseEnabled(int i);
Remarks:
Returns TRUE if the 'i-th' ease curve is enabled; otherwise FALSE.
Parameters:
int i
The index of the ease curve to check.
Prototype:
int NumEaseCurves();
Remarks:
Returns the number of ease curves in the list.