Planeshift
Public Member Functions | Protected Attributes

psCal3DCallbackEffect Class Reference

A cal3d callback to handle displaying an effect. More...

#include <pscal3dcallback.h>

List of all members.

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
EEditAppparentApp
bool resetPerCycle
 if true, effect will be rerendered every cycle, otherwise it will be rendered every animation
float triggerTime
 time to trigger the effect

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

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.

keep track if the effect has triggered this cycle

Definition at line 76 of file pscal3dcallback.h.

true if the effect should die when the animation dies

Definition at line 82 of file pscal3dcallback.h.

keep track of the animation time of last update

Definition at line 73 of file pscal3dcallback.h.

Definition at line 68 of file pscal3dcallback.h.

if true, effect will be rerendered every cycle, otherwise it will be rendered every animation

Definition at line 79 of file pscal3dcallback.h.

time to trigger the effect

Definition at line 70 of file pscal3dcallback.h.


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