Main Index : Reference :
class BaseSequence : BaseList2D
{
public:
[BaseTrack] GetTrack();
[BaseKey] GetFirstKey();
[TimeKey] GetFirstTimeKey();
[bool] InsertKey([BaseKey] key);
[bool] InsertTimeKey([TimeKey] key);
[BaseTime] GetT1();
[BaseTime] GetT2();
[BaseTime] GetT3();
[bool] GetSoft();
[bool] GetLeftInfluence();
[bool] GetRightInfluence();
[int] GetTimeMode();
[float] GetV0();
[float] GetS0();
[BaseTime] GetLeft();
[BaseTime] GetRight();
[bool] SetT1([BaseTime] t);
[bool] SetT2([BaseTime] t);
[bool] SetT3([BaseTime] t);
[bool] SetSoft([bool] s);
[bool] SetLeftInfluence([bool] l);
[bool] SetRightInfluence([bool] r);
[bool] SetTimeMode([int] mode);
[bool] SetV0([float] v0);
[bool] SetS0([float] s0);
[BaseContainer] GetContainer();
[bool] SetContainer([BaseContainer] bc);
[bool] CopyTo([BaseSequence] dest);
[BaseSequence] GetClone();
}
This is the animation sequence base class that all other animation keys are derived from.
Note: At the moment there's no way to allocate new sequences with C.O.F.F.E.E..
[BaseTrack] GetTrack();
Returns the track that the sequence is attached to, or NULL if the sequence is loose.
[BaseKey] GetFirstKey();
Returns the first key of the sequence, or NULL if there are no keys.
[TimeKey] GetFirstTimeKey();
Returns the first time curve key of the sequence, or NULL if there is no time curve.
[bool] InsertKey([BaseKey] key);
Inserts key into the sequence at the time specified in the BaseKey class. Returns TRUE if successful.
[bool] InsertTimeKey([TimeKey] key);
Inserts key into the sequence's time curve at the x time specified in the TimeKey class. Return TRUE if successful.
[BaseTime] GetT1();
Returns the start time of the sequence.
[BaseTime] GetT2();
Returns the end time of the sequence excluding loops.
[BaseTime] GetT3();
Returns the end time of the sequence including loops.
[bool] GetSoft();
Returns the state of the sequence's soft option.
[bool] GetLeftInfluence();
Returns the state of the sequence's left influence option.
[bool] GetRightInfluence();
Returns the state of the sequence's right influence option.
[int] GetTimeMode();
Returns the mode of the sequence's time curve. Possible values are:
| Value | Meaning |
0 |
Position |
1 |
Velocity |
2 |
Acceleration |
[float] GetV0();
Returns the velocity integration constant of the sequence's time curve.
[float] GetS0();
Returns the position integration constant of the sequence's time curve.
[BaseTime] GetLeft();
Returns the time of the first key of the sequence. If there are no keys, the start time of the sequence will be returned.
[BaseTime] GetRight();
Returns the time of the last key of the sequence. If there are no keys, the end time of the sequence will be returned.
[bool] SetT1([BaseTime] t);
Sets the start time of the sequence to t. Returns TRUE if successful.
[bool] SetT2([BaseTime] t);
Sets the end time of the sequence, excluding loops, to t. Returns TRUE if successful.
[bool] SetT3([BaseTime] t);
Sets the end time of the sequence, including loops, to t. Returns TRUE if successful.
[bool] SetSoft([bool] s);
Sets the sequence's soft option to s. Returns TRUE if successful.
[bool] SetLeftInfluence([bool] l);
Sets the sequence's left influence option to l. Returns TRUE if successful.
[bool] SetRightInfluence([bool] r);
Sets the sequence's right influence option to l. Returns TRUE if successful.
[bool] SetTimeMode([int] mode);
Sets the mode of the sequence's time curve to mode. Possible values are:
| Value | Meaning |
0 |
Position |
1 |
Velocity |
2 |
Acceleration |
Returns TRUE if successful.
[bool] SetV0([float] v0);
Sets the velocity integration constant of the sequence's time curve to v0. Returns TRUE if successful.
[bool] SetS0([float] s0);
Sets the position integration constant of the sequence's time curve to v0. Returns TRUE if successful.
[BaseContainer] GetContainer();
Returns the sequence's container.
[bool] SetContainer([BaseContainer] bc);
Sets the sequence's container to bc. Returns TRUE if successful.
[bool] CopyTo([BaseSequence] dest);
Copies the sequence to the specified destination. Returns TRUE if successful.
[BaseSequence] GetClone();
Returns a clone of the sequence.