![]() |
Public API Reference |
This interface is implemented by the seqop that moves meshes along a path. More...
#include <tools/sequences.h>
Public Member Functions | |
| virtual void | AddPathNode (const char *sectorname, const char *node, const char *time)=0 |
| Add a node. | |
| virtual void | SetEntityParameter (const char *entity, const char *tag=0)=0 |
| Set the entity containing the pcmesh (either entity name or a parameter if it starts with '$'). | |
This interface is implemented by the seqop that moves meshes along a path.
You can query this interface from the seqop factory if you want to manually control this factory as opposed to loading its definition from an XML document.
The predefined name of this seqop type is 'cel.seqops.movepath'.
In XML, factories recognize the following attributes on the 'op' node:
Definition at line 321 of file sequences.h.
| virtual void iMovePathSeqOpFactory::AddPathNode | ( | const char * | sectorname, |
| const char * | node, | ||
| const char * | time | ||
| ) | [pure virtual] |
Add a node.
| sectorname | is the name of the sector in which the node can be found. Warning! In the current implementation the sector should be the same for all nodes. |
| node | is the name of the node (position, yvector, and zvector are used). |
| time | is an increasing time value. |
| virtual void iMovePathSeqOpFactory::SetEntityParameter | ( | const char * | entity, |
| const char * | tag = 0 |
||
| ) | [pure virtual] |
Set the entity containing the pcmesh (either entity name or a parameter if it starts with '$').
| tag | is the optional tag of the entity or a parameter (starts with '$'). |