iTransformQuestSeqOpFactory Struct Reference
This interface is implemented by the seqop that transforms meshes. More...
#include <tools/questmanager.h>
Public Member Functions | |
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 '$'). | |
virtual void | SetRotationParameter (int rot_axis, const char *rot_angle)=0 |
Set the relative rotation parameter. | |
virtual void | SetVectorParameter (const char *vectorx, const char *vectory, const char *vectorz)=0 |
Set the relative movement vector parameter. |
Detailed Description
This interface is implemented by the seqop that transforms meshes.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.questseqop.transform'.
In XML, factories recognize the following attributes on the 'op' node:
- entity: the name of the entity containing the pcmesh property class.
- entity_tag: optional tag used to find the right property class from the entity.
- v: optional movement vector. This node has 'x', 'y, and 'z' attributes. Each of these attributes can be a parameter.
- rotx: optional rotation along x axis. This node has an 'angle' parameter in radians. Angle can be a parameter.
- roty: optional rotation along y axis. This node has an 'angle' parameter in radians. Angle can be a parameter.
- rotz: optional rotation along z axis. This node has an 'angle' parameter in radians. Angle can be a parameter.
Definition at line 1616 of file questmanager.h.
Member Function Documentation
|
Set the entity containing the pcmesh (either entity name or a parameter if it starts with '$').
|
|
Set the relative rotation parameter.
|
|
Set the relative movement vector parameter.
|
The documentation for this struct was generated from the following file:
- tools/questmanager.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6