#include <c4d_ctrack.h>
Public Member Functions | |
CAnimInfo () | |
Public Attributes | |
BaseDocument * | doc |
BaseList2D * | op |
BaseTime | otime |
Float64 | xtime |
Float64 | fac |
Float64 | rel |
const CKey * | k1 |
const CKey * | k2 |
Int32 | k1idx |
Int32 | k2idx |
Int32 | cycle |
Float64 | k1time |
Float64 | k2time |
Internal.
CAnimInfo | ( | ) |
BaseDocument* doc |
Document.
BaseList2D* op |
Original object.
BaseTime otime |
Original time.
Float64 xtime |
Float64 fac |
Factor of time between the first and the last key of the track.
const CKey* k1 |
Last key before or at the current time. Can be nullptr.
const CKey* k2 |
Next key strictly after the current time. Can be nullptr.
Int32 cycle |
0 for the range from first key to last key, after last key it is +1, +2,etc. before first key -1, -2, etc.
This takes into account things like time curves and allows to compute the offset of values for tracks with pre or post behavior (for instance looping).