Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
AnimFCurveChannel Class Reference

Public Types

enum  Key_type {
  KEY_TYPE_LINEAR,
  KEY_TYPE_STEP,
  KEY_TYPE_TCB,
  KEY_TYPE_HERMITE,
  KEY_TYPE_BEZIER,
  KEY_TYPE_COUNT
}
 
enum  Behavior {
  BEHAVIOR_RESET,
  BEHAVIOR_CONSTANT,
  BEHAVIOR_REPEAT,
  BEHAVIOR_OSCILLATE,
  BEHAVIOR_OFFSET_REPEAT,
  BEHAVIOR_LINEAR
}
 

Public Member Functions

 AnimFCurveChannel (AnimFCurve &curve, const CoreString &name)
 
const CoreStringget_name () const
 
const unsigned int & get_key_count () const
 
unsigned int set_key (const double &time, const Key_type &type, const double &value)
 
unsigned int add_key (const double &time, const Key_type &type)
 
void remove_key (const unsigned int &index)
 
void remove_all_keys ()
 
void set_key_value (const unsigned int &index, const double &value)
 
void set_key_time (const unsigned int &index, const double &time)
 
void set_key_type (const unsigned int &index, const Key_type &type)
 
double get_key_value (const unsigned int &index) const
 
double get_key_time (const unsigned int &index) const
 
Key_type get_key_type (const unsigned int &index) const
 
double eval (const double &time)