CEL

Public API Reference

iTransformSeqOpFactory Struct Reference

This interface is implemented by the seqop that transforms meshes. More...

#include <tools/sequences.h>

Inheritance diagram for iTransformSeqOpFactory:

List of all members.

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 SetReversed (bool r)=0
 If reversed is set then the transform will be in reverse.
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.seqops.transform'.

In XML, factories recognize the following attributes on the 'op' node:

Definition at line 580 of file sequences.h.


Member Function Documentation

virtual void iTransformSeqOpFactory::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 '$').
virtual void iTransformSeqOpFactory::SetReversed ( bool  r  )  [pure virtual]

If reversed is set then the transform will be in reverse.

This is useful for going back with the same parameters.

virtual void iTransformSeqOpFactory::SetRotationParameter ( int  rot_axis,
const char *  rot_angle 
) [pure virtual]

Set the relative rotation parameter.

Parameters:
rot_axis is 0, 1, or 2 for x, y, or z axis. Use -1 for disabling rotation.
rot_angle the amount of rotation.
virtual void iTransformSeqOpFactory::SetVectorParameter ( const char *  vectorx,
const char *  vectory,
const char *  vectorz 
) [pure virtual]

Set the relative movement vector parameter.


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

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1