#include <c4d_canimation.h>
◆ CAnimInfo()
◆ ~CAnimInfo()
◆ doc
◆ op
◆ otime
◆ xtime
Remapped time. Usually identical to the time delivered by doc BaseDocument::GetTime GetTime()
Only if there are loops and/or time curves assigned the time value is remapped into the normal range between first and last key.
It is a float value instead of a BaseTime to avoid resolution/aliasing issues.
◆ fac
Factor of time between the first and the last key of the track.
◆ rel
Factor between two keys. Only !=0.0 if k1!=nullptr && k2!=nullptr.
◆ k1
Last key before or at the current time. Can be nullptr.
◆ k2
Next key strictly after the current time. Can be nullptr.
◆ k1idx
◆ k2idx
◆ 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 (e.g looping).