Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LERPAnimationChannelClass< T > Class Template Reference

#include <prim_anim.h>

Inherits PrimitiveAnimationChannelClass< T >.

Public Member Functions

virtual T Evaluate (float time)
 
- Public Member Functions inherited from PrimitiveAnimationChannelClass< T >
 PrimitiveAnimationChannelClass (void)
 
virtual ~PrimitiveAnimationChannelClass (void)
 
const PrimitiveAnimationChannelClass< T > & operator= (const PrimitiveAnimationChannelClass< T > &src)
 
const KeyClassoperator[] (int index)
 
int Get_Key_Count (void) const
 
const KeyClassGet_Key (int index) const
 
void Set_Key (int index, const T &value, float time)
 
void Set_Key_Value (int index, const T &value)
 
void Add_Key (const T &value, float time)
 
void Insert_Key (int index, const T &value, float time)
 
void Delete_Key (int index)
 
void Reset (void)
 
virtual void Save (ChunkSaveClass &csave)
 
virtual void Load (ChunkLoadClass &cload)
 

Additional Inherited Members

- Protected Types inherited from PrimitiveAnimationChannelClass< T >
enum  { CHUNKID_VARIABLES = 0x03150809 }
 
enum  { VARID_KEY = 1 }
 
- Protected Member Functions inherited from PrimitiveAnimationChannelClass< T >
void Load_Variables (ChunkLoadClass &cload)
 
- Protected Attributes inherited from PrimitiveAnimationChannelClass< T >
SimpleDynVecClass< KeyClassm_Data
 
int m_LastIndex
 

Detailed Description

template<class T>
class LERPAnimationChannelClass< T >

Definition at line 161 of file prim_anim.h.

Member Function Documentation

◆ Evaluate()

template<class T>
T LERPAnimationChannelClass< T >::Evaluate ( float time)
virtual

Implements PrimitiveAnimationChannelClass< T >.

Definition at line 345 of file prim_anim.h.


The documentation for this class was generated from the following file: