#include <pseffectanchorspline.h>
List of all members.
Detailed Description
Definition at line 31 of file pseffectanchorspline.h.
Constructor & Destructor Documentation
psEffectAnchorSpline::psEffectAnchorSpline |
( |
| ) |
|
psEffectAnchorSpline::~psEffectAnchorSpline |
( |
| ) |
|
Member Function Documentation
Clones the effect anchor.
This will almost always be overloaded.
Reimplemented from psEffectAnchor.
bool psEffectAnchorSpline::Create |
( |
const csVector3 & |
offset, |
|
|
iMeshWrapper * |
posAttach, |
|
|
bool |
rotateWithMesh = false |
|
) |
| [virtual] |
Creates the effect anchor.
- Parameters:
-
offset | the offset of the position of the obj. |
posAttach | the mesh to attach this anchor to. |
rotateWithMesh | Rotate the anchor with the mesh. |
- Returns:
- true on success.
Reimplemented from psEffectAnchor.
bool psEffectAnchorSpline::Load |
( |
iDocumentNode * |
node | ) |
[virtual] |
Loads the effect anchors from an xml node.
- Parameters:
-
node | the xml node containing the effect anchor, must be valid. |
- Returns:
- true on success, false otherwise.
Reimplemented from psEffectAnchor.
bool psEffectAnchorSpline::PostSetup |
( |
| ) |
|
Performs things like building the spline from the keyframes.
- Returns:
- true on success, false otherwise
bool psEffectAnchorSpline::Update |
( |
csTicks |
elapsed | ) |
[virtual] |
Updates the effect anchor -- called every frame.
- Parameters:
-
elapsed | the ticks elapsed since last update. |
- Returns:
- false if the anchor is useless and can be removed by its parent effect.
Reimplemented from psEffectAnchor.
The documentation for this class was generated from the following file: