Simulant  21.12-1292
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Protected Types | Protected Attributes | List of all members
smlt::Manipulator Class Referenceabstract
Inheritance diagram for smlt::Manipulator:
smlt::AlphaFader smlt::ColorFader smlt::DirectionManipulator smlt::DirectionNoiseRandomManipulator smlt::SizeManipulator

Public Member Functions

 Manipulator (ParticleScript *script, const std::string &name)
 
void manipulate (ParticleSystem *system, Particle *particles, std::size_t particle_count, float dt) const
 
virtual void set_linear_curve (float rate)
 
virtual void set_bell_curve (float peak, float deviation)
 

Protected Types

typedef std::function< float(float, float, float)> CurveFunc
 

Protected Attributes

ParticleScriptparticle_script_
 
CurveFunc curve_
 

The documentation for this class was generated from the following files: