Planeshift
Public Member Functions

psEffectObjSimpMesh Class Reference

#include <pseffectobjsimpmesh.h>

List of all members.

Public Member Functions

psEffectObjClone () const
 Clones the effect object.
bool Load (iDocumentNode *node, iLoaderContext *ldr_context)
 Loads the effect object from an xml node.
 psEffectObjSimpMesh (iView *parentView, psEffect2DRenderer *renderer2d)
bool Render (const csVector3 &up)
 Renders the effect.
bool Update (csTicks elapsed)
 Updates the spell effect -- called every frame.
 ~psEffectObjSimpMesh ()

Detailed Description

Definition at line 31 of file pseffectobjsimpmesh.h.


Constructor & Destructor Documentation

psEffectObjSimpMesh::psEffectObjSimpMesh ( iView *  parentView,
psEffect2DRenderer renderer2d 
)
psEffectObjSimpMesh::~psEffectObjSimpMesh ( )

Member Function Documentation

psEffectObj* psEffectObjSimpMesh::Clone ( ) const [virtual]

Clones the effect object.

This will almost always be overloaded.

Reimplemented from psEffectObj.

bool psEffectObjSimpMesh::Load ( iDocumentNode *  node,
iLoaderContext *  ldr_context 
) [virtual]

Loads the effect object from an xml node.

Parameters:
nodethe xml node containing the effect object, must be valid
ldr_contextthe current loader context.
Returns:
true on success, false otherwise

Reimplemented from psEffectObj.

bool psEffectObjSimpMesh::Render ( const csVector3 &  up) [virtual]

Renders the effect.

Parameters:
upthe base up vector of the effect obj
Returns:
true on success

Reimplemented from psEffectObj.

bool psEffectObjSimpMesh::Update ( csTicks  elapsed) [virtual]

Updates the spell effect -- called every frame.

Parameters:
elapsedthe ticks elapsed since last update
Returns:
false if the obj is useless and can be removed

Reimplemented from psEffectObj.


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