arsa  2.7
Public Member Functions | List of all members
irr::scene::IParticleMeshEmitter Class Referenceabstract

A particle emitter which emits from vertices of a mesh. More...

#include <IParticleMeshEmitter.h>

Inheritance diagram for irr::scene::IParticleMeshEmitter:
irr::scene::IParticleEmitter irr::io::IAttributeExchangingObject irr::IReferenceCounted

Public Member Functions

virtual void setMesh (IMesh *mesh)=0
 Set Mesh to emit particles from. More...
 
virtual void setUseNormalDirection (bool useNormalDirection=true)=0
 Set whether to use vertex normal for direction, or direction specified. More...
 
virtual void setNormalDirectionModifier (f32 normalDirectionModifier)=0
 Set the amount that the normal is divided by for getting a particles direction. More...
 
virtual void setEveryMeshVertex (bool everyMeshVertex=true)=0
 Sets whether to emit min<->max particles for every vertex or to pick min<->max vertices. More...
 
virtual const IMeshgetMesh () const =0
 Get Mesh we're emitting particles from. More...
 
virtual bool isUsingNormalDirection () const =0
 Get whether to use vertex normal for direction, or direction specified. More...
 
virtual f32 getNormalDirectionModifier () const =0
 Get the amount that the normal is divided by for getting a particles direction. More...
 
virtual bool getEveryMeshVertex () const =0
 Gets whether to emit min<->max particles for every vertex or to pick min<->max vertices. More...
 
virtual E_PARTICLE_EMITTER_TYPE getType () const _IRR_OVERRIDE_
 Get emitter type. More...
 
- Public Member Functions inherited from irr::scene::IParticleEmitter
virtual s32 emitt (u32 now, u32 timeSinceLastCall, SParticle *&outArray)=0
 Prepares an array with new particles to emit into the system. More...
 
virtual void setDirection (const core::vector3df &newDirection)=0
 Set direction the emitter emits particles. More...
 
virtual void setMinParticlesPerSecond (u32 minPPS)=0
 Set minimum number of particles the emitter emits per second. More...
 
virtual void setMaxParticlesPerSecond (u32 maxPPS)=0
 Set maximum number of particles the emitter emits per second. More...
 
virtual void setMinStartColor (const video::SColor &color)=0
 Set minimum starting color for particles. More...
 
virtual void setMaxStartColor (const video::SColor &color)=0
 Set maximum starting color for particles. More...
 
virtual void setMaxStartSize (const core::dimension2df &size)=0
 Set the maximum starting size for particles. More...
 
virtual void setMinStartSize (const core::dimension2df &size)=0
 Set the minimum starting size for particles. More...
 
virtual void setMinLifeTime (u32 lifeTimeMin)=0
 Set the minimum particle life-time in milliseconds. More...
 
virtual void setMaxLifeTime (u32 lifeTimeMax)=0
 Set the maximum particle life-time in milliseconds. More...
 
virtual void setMaxAngleDegrees (s32 maxAngleDegrees)=0
 Set maximal random derivation from the direction. More...
 
virtual const core::vector3dfgetDirection () const =0
 Get direction the emitter emits particles. More...
 
virtual u32 getMinParticlesPerSecond () const =0
 Get the minimum number of particles the emitter emits per second. More...
 
virtual u32 getMaxParticlesPerSecond () const =0
 Get the maximum number of particles the emitter emits per second. More...
 
virtual const video::SColorgetMinStartColor () const =0
 Get the minimum starting color for particles. More...
 
virtual const video::SColorgetMaxStartColor () const =0
 Get the maximum starting color for particles. More...
 
virtual const core::dimension2dfgetMaxStartSize () const =0
 Get the maximum starting size for particles. More...
 
virtual const core::dimension2dfgetMinStartSize () const =0
 Get the minimum starting size for particles. More...
 
virtual u32 getMinLifeTime () const =0
 Get the minimum particle life-time in milliseconds. More...
 
virtual u32 getMaxLifeTime () const =0
 Get the maximum particle life-time in milliseconds. More...
 
virtual s32 getMaxAngleDegrees () const =0
 Get maximal random derivation from the direction. More...
 
- Public Member Functions inherited from irr::io::IAttributeExchangingObject
virtual void serializeAttributes (io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const
 Writes attributes of the object. More...
 
virtual void deserializeAttributes (io::IAttributes *in, io::SAttributeReadWriteOptions *options=0)
 Reads attributes of the object. More...
 
- Public Member Functions inherited from irr::IReferenceCounted
 IReferenceCounted ()
 Constructor. More...
 
virtual ~IReferenceCounted ()
 Destructor. More...
 
void grab () const
 Grabs the object. Increments the reference counter by one. More...
 
bool drop () const
 Drops the object. Decrements the reference counter by one. More...
 
s32 getReferenceCount () const
 Get the reference count. More...
 
const c8getDebugName () const
 Returns the debug name of the object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from irr::IReferenceCounted
void setDebugName (const c8 *newName)
 Sets the debug name of the object. More...
 

Detailed Description

A particle emitter which emits from vertices of a mesh.

Definition at line 17 of file IParticleMeshEmitter.h.

Member Function Documentation

◆ getEveryMeshVertex()

virtual bool irr::scene::IParticleMeshEmitter::getEveryMeshVertex ( ) const
pure virtual

Gets whether to emit min<->max particles for every vertex or to pick min<->max vertices.

◆ getMesh()

virtual const IMesh* irr::scene::IParticleMeshEmitter::getMesh ( ) const
pure virtual

Get Mesh we're emitting particles from.

◆ getNormalDirectionModifier()

virtual f32 irr::scene::IParticleMeshEmitter::getNormalDirectionModifier ( ) const
pure virtual

Get the amount that the normal is divided by for getting a particles direction.

◆ getType()

virtual E_PARTICLE_EMITTER_TYPE irr::scene::IParticleMeshEmitter::getType ( ) const
inlinevirtual

Get emitter type.

Reimplemented from irr::scene::IParticleEmitter.

Definition at line 46 of file IParticleMeshEmitter.h.

◆ isUsingNormalDirection()

virtual bool irr::scene::IParticleMeshEmitter::isUsingNormalDirection ( ) const
pure virtual

Get whether to use vertex normal for direction, or direction specified.

◆ setEveryMeshVertex()

virtual void irr::scene::IParticleMeshEmitter::setEveryMeshVertex ( bool  everyMeshVertex = true)
pure virtual

Sets whether to emit min<->max particles for every vertex or to pick min<->max vertices.

◆ setMesh()

virtual void irr::scene::IParticleMeshEmitter::setMesh ( IMesh mesh)
pure virtual

Set Mesh to emit particles from.

◆ setNormalDirectionModifier()

virtual void irr::scene::IParticleMeshEmitter::setNormalDirectionModifier ( f32  normalDirectionModifier)
pure virtual

Set the amount that the normal is divided by for getting a particles direction.

◆ setUseNormalDirection()

virtual void irr::scene::IParticleMeshEmitter::setUseNormalDirection ( bool  useNormalDirection = true)
pure virtual

Set whether to use vertex normal for direction, or direction specified.


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