CEL

Public API Reference

iMovePathSeqOpFactory Struct Reference

This interface is implemented by the seqop that moves meshes along a path. More...

#include <tools/sequences.h>

Inheritance diagram for iMovePathSeqOpFactory:

List of all members.

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 '$').

Detailed Description

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 417 of file sequences.h.


Member Function Documentation

virtual void iMovePathSeqOpFactory::AddPathNode ( const char *  sectorname,
const char *  node,
const char *  time 
) [pure virtual]

Add a node.

Parameters:
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 '$').

Parameters:
tag is the optional tag of the entity or a parameter (starts with '$').

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

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1