CAnimInfo Class Reference

#include <c4d_canimation.h>

详细描述

Internal .

Public Attributes

BaseDocument doc
BaseList2D op
BaseTime   otime
Float64   xtime
Float64   fac
Float64   rel
CKey k1
CKey k2
Int32   k1idx
Int32   k2idx
Int32   cycle

私有成员函数

  CAnimInfo ()
  ~CAnimInfo (void)

构造函数 & 析构函数文档编制

◆  CAnimInfo()

CAnimInfo () private

◆  ~CAnimInfo()

~ CAnimInfo ( void  )
private

Member Data Documentation

◆  doc

BaseDocument * doc

Document.

◆  op

BaseList2D * op

Original object.

◆  otime

BaseTime otime

Original time.

◆  xtime

Float64 xtime

Remapped time. Usually identical to the time delivered by doc 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

Float64 fac

Factor of time between the first and the last key of the track.

◆  rel

Float64 rel

Factor between two keys. Only != 0.0 if k1 != nullptr && k2 != nullptr .

◆  k1

CKey * k1

Last key before or at the current time. Can be nullptr .

◆  k2

CKey * k2

Next key strictly after the current time. Can be nullptr .

◆  k1idx

Int32 k1idx

Key index for k1 .

◆  k2idx

Int32 k2idx

Key index for k2 .

◆  cycle

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 ,等。
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).