KPriFCurveKey is used as the internal storage format for motion data.
We need to make its size as small as possible, so we carefully play with the pack, alignment for VC,GCC on 32/64-bit OS.
#include <kfcurve.h>
Public Member Functions |
|
KPriFCurveKey () | |
KFBX_FCURVE_INLINE void | Init () |
KFBX_FCURVE_INLINE void | Set (KTime pTime, kFCurveDouble pValue) |
KFBX_FCURVE_INLINE kFCurveDouble | GetValue () const |
KFBX_FCURVE_INLINE void | SetValue (kFCurveDouble pValue) |
KFBX_FCURVE_INLINE void | IncValue (kFCurveDouble pValue) |
KFBX_FCURVE_INLINE void | MultValue (kFCurveDouble pValue) |
KFBX_FCURVE_INLINE KTime | GetTime () const |
KFBX_FCURVE_INLINE void | SetTime (KTime pTime) |
KFBX_FCURVE_INLINE void | IncTime (KTime pTime) |
Public Attributes |
|
KTime | mTime |
KPriFCurveKeyAttr * | mAttr |
kFCurveDouble | mValue |
KPriFCurveKey | ( | ) | [inline] |
KFBX_FCURVE_INLINE void Init | ( | ) |
KFBX_FCURVE_INLINE void Set | ( | KTime | pTime, |
kFCurveDouble | pValue | ||
) |
KFBX_FCURVE_INLINE kFCurveDouble GetValue | ( | ) | const |
KFBX_FCURVE_INLINE void SetValue | ( | kFCurveDouble | pValue | ) |
KFBX_FCURVE_INLINE void IncValue | ( | kFCurveDouble | pValue | ) |
KFBX_FCURVE_INLINE void MultValue | ( | kFCurveDouble | pValue | ) |
KFBX_FCURVE_INLINE KTime GetTime | ( | ) | const |
KFBX_FCURVE_INLINE void SetTime | ( | KTime | pTime | ) |
Definition at line 3067 of file kfcurve.h.
{ K_ASSERT_MSG( pTime != KTIME_MINUS_INFINITE && pTime != KTIME_INFINITE, "Key at infinite!" ); mTime=pTime; }
KFBX_FCURVE_INLINE void IncTime | ( | KTime | pTime | ) |