Planeshift
|
A cal3d callback to handle displaying an effect. More...
#include <pscal3dcallback.h>
Public Member Functions | |
void | AnimationComplete (CalModel *model, void *userData) |
void | AnimationComplete (CalModel *model, void *userData) |
void | AnimationUpdate (float anim_time, CalModel *model, void *userData) |
void | AnimationUpdate (float anim_time, CalModel *model, void *userData) |
psCal3DCallbackEffect (iDocumentNode *node, EEditApp *app) | |
psCal3DCallbackEffect (iDocumentNode *node) | |
virtual | ~psCal3DCallbackEffect () |
virtual | ~psCal3DCallbackEffect () |
Protected Attributes | |
unsigned int | effectID |
keep track of the effect ID | |
csString | effectName |
name of the effect to call | |
bool | hasTriggered |
keep track if the effect has triggered this cycle | |
bool | killWithAnimEnd |
true if the effect should die when the animation dies | |
float | lastUpdateTime |
keep track of the animation time of last update | |
EEditApp * | parentApp |
bool | resetPerCycle |
if true, effect will be rerendered every cycle, otherwise it will be rendered every animation | |
float | triggerTime |
time to trigger the effect |
A cal3d callback to handle displaying an effect.
Definition at line 55 of file pscal3dcallback.h.
psCal3DCallbackEffect::psCal3DCallbackEffect | ( | iDocumentNode * | node | ) |
virtual psCal3DCallbackEffect::~psCal3DCallbackEffect | ( | ) | [virtual] |
psCal3DCallbackEffect::psCal3DCallbackEffect | ( | iDocumentNode * | node, |
EEditApp * | app | ||
) |
virtual psCal3DCallbackEffect::~psCal3DCallbackEffect | ( | ) | [virtual] |
void psCal3DCallbackEffect::AnimationComplete | ( | CalModel * | model, |
void * | userData | ||
) |
void psCal3DCallbackEffect::AnimationComplete | ( | CalModel * | model, |
void * | userData | ||
) |
void psCal3DCallbackEffect::AnimationUpdate | ( | float | anim_time, |
CalModel * | model, | ||
void * | userData | ||
) |
void psCal3DCallbackEffect::AnimationUpdate | ( | float | anim_time, |
CalModel * | model, | ||
void * | userData | ||
) |
unsigned int psCal3DCallbackEffect::effectID [protected] |
keep track of the effect ID
Definition at line 85 of file pscal3dcallback.h.
csString psCal3DCallbackEffect::effectName [protected] |
name of the effect to call
Definition at line 67 of file pscal3dcallback.h.
bool psCal3DCallbackEffect::hasTriggered [protected] |
keep track if the effect has triggered this cycle
Definition at line 76 of file pscal3dcallback.h.
bool psCal3DCallbackEffect::killWithAnimEnd [protected] |
true if the effect should die when the animation dies
Definition at line 82 of file pscal3dcallback.h.
float psCal3DCallbackEffect::lastUpdateTime [protected] |
keep track of the animation time of last update
Definition at line 73 of file pscal3dcallback.h.
EEditApp* psCal3DCallbackEffect::parentApp [protected] |
Definition at line 68 of file pscal3dcallback.h.
bool psCal3DCallbackEffect::resetPerCycle [protected] |
if true, effect will be rerendered every cycle, otherwise it will be rendered every animation
Definition at line 79 of file pscal3dcallback.h.
float psCal3DCallbackEffect::triggerTime [protected] |
time to trigger the effect
Definition at line 70 of file pscal3dcallback.h.