Planeshift
|
#include <pseffectobjspire.h>
Classes | |
struct | MeshAnimControl |
Public Types | |
enum | SPI_SHAPE { SPI_CIRCLE = 0, SPI_CYLINDER, SPI_ASTERIX, SPI_STAR, SPI_LAYERED, SPI_COUNT } |
Public Member Functions | |
psEffectObj * | Clone () const |
Clones the effect object. | |
bool | Load (iDocumentNode *node, iLoaderContext *ldr_context) |
Loads the effect object from an xml node. | |
psEffectObjSpire (iView *parentView, psEffect2DRenderer *renderer2d) | |
bool | Render (const csVector3 &up) |
Renders the effect. | |
bool | Update (csTicks elapsed) |
Updates the spell effect -- called every frame. | |
virtual | ~psEffectObjSpire () |
Public Attributes | |
csRef< MeshAnimControl > | meshControl |
Definition at line 32 of file pseffectobjspire.h.
Definition at line 113 of file pseffectobjspire.h.
psEffectObjSpire::psEffectObjSpire | ( | iView * | parentView, |
psEffect2DRenderer * | renderer2d | ||
) |
virtual psEffectObjSpire::~psEffectObjSpire | ( | ) | [virtual] |
psEffectObj* psEffectObjSpire::Clone | ( | ) | const [virtual] |
bool psEffectObjSpire::Load | ( | iDocumentNode * | node, |
iLoaderContext * | ldr_context | ||
) | [virtual] |
Loads the effect object from an xml node.
node | the xml node containing the effect object, must be valid |
ldr_context | the current loader context. |
Reimplemented from psEffectObj.
bool psEffectObjSpire::Render | ( | const csVector3 & | up | ) | [virtual] |
Renders the effect.
up | the base up vector of the effect obj |
Reimplemented from psEffectObj.
bool psEffectObjSpire::Update | ( | csTicks | elapsed | ) | [virtual] |
Updates the spell effect -- called every frame.
elapsed | the ticks elapsed since last update |
Reimplemented from psEffectObj.
Definition at line 98 of file pseffectobjspire.h.