Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
|
A particle emitter which emits from a cylindrically shaped space. More...
#include <jimcpp/core/engine/IParticleCylinderEmitter.hpp>
Public Member Functions | |
virtual void | setCenter (const core::vector3df ¢er)=0 |
Set the center of the radius for the cylinder, at one end of the cylinder. | |
virtual void | setNormal (const core::vector3df &normal)=0 |
Set the normal of the cylinder. | |
virtual void | setRadius (f32 radius)=0 |
Set the radius of the cylinder. | |
virtual void | setLength (f32 length)=0 |
Set the length of the cylinder. | |
virtual void | setOutlineOnly (bool outlineOnly=true)=0 |
Set whether or not to draw points inside the cylinder. | |
virtual const core::vector3df & | getCenter () const =0 |
Get the center of the cylinder. | |
virtual const core::vector3df & | getNormal () const =0 |
Get the normal of the cylinder. | |
virtual f32 | getRadius () const =0 |
Get the radius of the cylinder. | |
virtual f32 | getLength () const =0 |
Get the center of the cylinder. | |
virtual bool | getOutlineOnly () const =0 |
Get whether or not to draw points inside the cylinder. | |
virtual E_PARTICLE_EMITTER_TYPE | getType () const override |
Get emitter type. | |
Public Member Functions inherited from jpp::scene::IParticleEmitter | |
virtual s32 | emitt (u32 now, u32 timeSinceLastCall, SParticle *&outArray)=0 |
Prepares an array with new particles to emit into the system. | |
virtual void | setDirection (const core::vector3df &newDirection)=0 |
Set direction the emitter emits particles. | |
virtual void | setMinParticlesPerSecond (u32 minPPS)=0 |
Set minimum number of particles the emitter emits per second. | |
virtual void | setMaxParticlesPerSecond (u32 maxPPS)=0 |
Set maximum number of particles the emitter emits per second. | |
virtual void | setMinStartColor (const video::SColor &color)=0 |
Set minimum starting color for particles. | |
virtual void | setMaxStartColor (const video::SColor &color)=0 |
Set maximum starting color for particles. | |
virtual void | setMaxStartSize (const core::dimension2df &size)=0 |
Set the maximum starting size for particles. | |
virtual void | setMinStartSize (const core::dimension2df &size)=0 |
Set the minimum starting size for particles. | |
virtual void | setMinLifeTime (u32 lifeTimeMin)=0 |
Set the minimum particle life-time in milliseconds. | |
virtual void | setMaxLifeTime (u32 lifeTimeMax)=0 |
Set the maximum particle life-time in milliseconds. | |
virtual void | setMaxAngleDegrees (s32 maxAngleDegrees)=0 |
Set maximal random derivation from the direction. | |
virtual const core::vector3df & | getDirection () const =0 |
Get direction the emitter emits particles. | |
virtual u32 | getMinParticlesPerSecond () const =0 |
Get the minimum number of particles the emitter emits per second. | |
virtual u32 | getMaxParticlesPerSecond () const =0 |
Get the maximum number of particles the emitter emits per second. | |
virtual const video::SColor & | getMinStartColor () const =0 |
Get the minimum starting color for particles. | |
virtual const video::SColor & | getMaxStartColor () const =0 |
Get the maximum starting color for particles. | |
virtual const core::dimension2df & | getMaxStartSize () const =0 |
Get the maximum starting size for particles. | |
virtual const core::dimension2df & | getMinStartSize () const =0 |
Get the minimum starting size for particles. | |
virtual u32 | getMinLifeTime () const =0 |
Get the minimum particle life-time in milliseconds. | |
virtual u32 | getMaxLifeTime () const =0 |
Get the maximum particle life-time in milliseconds. | |
virtual s32 | getMaxAngleDegrees () const =0 |
Get maximal random derivation from the direction. | |
Public Member Functions inherited from jpp::io::IAttributeExchangingObject | |
virtual void | serializeAttributes (io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const |
Writes attributes of the object. | |
virtual void | deserializeAttributes (io::IAttributes *in, io::SAttributeReadWriteOptions *options=0) |
Reads attributes of the object. | |
Public Member Functions inherited from jpp::IReferenceCounted | |
IReferenceCounted () | |
Constructor. | |
virtual | ~IReferenceCounted () |
Destructor. | |
void | grab () const |
Grabs the object. Increments the reference counter by one. | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. | |
s32 | getReferenceCount () const |
Get the reference count. | |
const c8 * | getDebugName () const |
Returns the debug name of the object. | |
Additional Inherited Members | |
Protected Member Functions inherited from jpp::IReferenceCounted | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. | |
A particle emitter which emits from a cylindrically shaped space.
|
inlineoverridevirtual |
Get emitter type.
Reimplemented from jpp::scene::IParticleEmitter.