Rotator Class Reference

A Modifier allowing to rotate particle with their rotation speed. More...

Inheritance diagram for Rotator:
Modifier Registerable Transformable BufferHandler

List of all members.

Public Member Functions

 Rotator ()
 Constructor of Rotator.

Static Public Member Functions

static Rotatorcreate ()
 Creates and registers a new Rotator.

Detailed Description

A Modifier allowing to rotate particle with their rotation speed.

Instead of controlling directly the particle angle, this modifier allows to control the particle rotation speed.
The rotator derives the particle angle from the particle rotation speed.

For this modifier to work, the PARAM_ANGLE must be enabled (and can be random in addition but not mutable or interpolated) and the PARAM_ROTATION_SPEED must be at least enabled in the model of the group of particles that are modified.

Since:
1.05.00

Definition at line 43 of file SPK_Rotator.h.


Constructor & Destructor Documentation

Rotator (  ) 

Constructor of Rotator.

Definition at line 68 of file SPK_Rotator.h.


Member Function Documentation

Rotator * create (  )  [static]

Creates and registers a new Rotator.

Returns:
A new registered Rotator

Definition at line 70 of file SPK_Rotator.h.


Generated on Wed Apr 27 21:09:26 2011 for SPARK Particle Engine by  doxygen 1.6.1