Planeshift
psCal3DCallbackEffect Class Reference

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)
 
 psCal3DCallbackEffect (iDocumentNode *node, EEditApp *app)
 
virtual ~psCal3DCallbackEffect ()
 
virtual ~psCal3DCallbackEffect ()
 

Protected Attributes

unsigned int effectID
 keep track of the effect ID More...
 
csString effectName
 name of the effect to call More...
 
bool hasTriggered
 keep track if the effect has triggered this cycle More...
 
bool killWithAnimEnd
 true if the effect should die when the animation dies More...
 
float lastUpdateTime
 keep track of the animation time of last update More...
 
EEditAppparentApp
 
bool resetPerCycle
 if true, effect will be rerendered every cycle, otherwise it will be rendered every animation More...
 
float triggerTime
 time to trigger the effect More...
 

Detailed Description

A cal3d callback to handle displaying an effect.

Definition at line 55 of file pscal3dcallback.h.

Constructor & Destructor Documentation

psCal3DCallbackEffect::psCal3DCallbackEffect ( iDocumentNode *  node)
virtual psCal3DCallbackEffect::~psCal3DCallbackEffect ( )
virtual
psCal3DCallbackEffect::psCal3DCallbackEffect ( iDocumentNode *  node,
EEditApp app 
)
virtual psCal3DCallbackEffect::~psCal3DCallbackEffect ( )
virtual

Member Function Documentation

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 
)

Member Data Documentation

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.


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