TDME2 1.9.121
Public Member Functions | List of all members
ParticleEmitter Struct Referenceabstract

Particle emitter interface. More...

#include <tdme/engine/subsystems/particlesystem/ParticleEmitter.h>

Inheritance diagram for ParticleEmitter:
Inheritance graph
Collaboration diagram for ParticleEmitter:
Collaboration graph

Public Member Functions

virtual const Vector3getCenter () const =0
 
virtual int32_t getCount () const =0
 
virtual const Color4getColorStart () const =0
 
virtual void setColorStart (const Color4 &colorStart)=0
 Set start color. More...
 
virtual const Color4getColorEnd () const =0
 
virtual void setColorEnd (const Color4 &colorEnd)=0
 Set end color. More...
 
virtual void emit (Particle *particle)=0
 Emits particles. More...
 
virtual void fromTransformations (const Transformations &transformations)=0
 Update transformation with given transformations. More...
 
virtual ~ParticleEmitter ()
 Destructor. More...
 

Detailed Description

Particle emitter interface.

Author
Andreas Drewke
Version
$Id$

Definition at line 20 of file ParticleEmitter.h.

Constructor & Destructor Documentation

◆ ~ParticleEmitter()

virtual ~ParticleEmitter ( )
inlinevirtual

Destructor.

Definition at line 70 of file ParticleEmitter.h.

Member Function Documentation

◆ emit()

virtual void emit ( Particle particle)
pure virtual

◆ fromTransformations()

virtual void fromTransformations ( const Transformations transformations)
pure virtual

Update transformation with given transformations.

Parameters
transformationstransformations

Implemented in BoundingBoxParticleEmitter, CircleParticleEmitter, CircleParticleEmitterPlaneVelocity, PointParticleEmitter, and SphereParticleEmitter.

◆ getCenter()

virtual const Vector3 & getCenter ( ) const
pure virtual

◆ getColorEnd()

virtual const Color4 & getColorEnd ( ) const
pure virtual

◆ getColorStart()

virtual const Color4 & getColorStart ( ) const
pure virtual

◆ getCount()

virtual int32_t getCount ( ) const
pure virtual

◆ setColorEnd()

virtual void setColorEnd ( const Color4 colorEnd)
pure virtual

◆ setColorStart()

virtual void setColorStart ( const Color4 colorStart)
pure virtual

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