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

Particle system entity internal interface. More...

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

Inheritance diagram for ParticleSystemEntityInternal:
Inheritance graph
Collaboration diagram for ParticleSystemEntityInternal:
Collaboration graph

Public Member Functions

virtual ~ParticleSystemEntityInternal ()
 Public destructor. More...
 
virtual ParticleEmittergetEmitter ()=0
 
virtual const string & getId ()=0
 
virtual bool isEnabled ()=0
 
virtual bool isActive ()=0
 
virtual void setEnabled (bool enabled)=0
 Enable/disable rendering. More...
 
virtual bool isPickable ()=0
 
virtual void setPickable (bool pickable)=0
 Set this object pickable. More...
 
virtual bool isAutoEmit ()=0
 
virtual void setAutoEmit (bool autoEmit)=0
 Set auto emit. More...
 
virtual const Color4getEffectColorMul () const =0
 The effect color will be multiplied with fragment color. More...
 
virtual void setEffectColorMul (const Color4 &effectColorMul)=0
 Set the effect color that will be multiplied with fragment color. More...
 
virtual const Color4getEffectColorAdd () const =0
 The effect color will be added to fragment color. More...
 
virtual void setEffectColorAdd (const Color4 &effectColorAdd)=0
 Set the effect color that will be added to fragment color. More...
 
virtual void updateParticles ()=0
 Updates the particle entity. More...
 
virtual int32_t emitParticles ()=0
 Adds particles to this particle entity at given position. More...
 
virtual void fromTransformations (const Transformations &transformations)=0
 Set up this transformations from given transformations. More...
 
virtual void update ()=0
 Update transformations. More...
 
virtual const TransformationsgetLocalTransformations ()=0
 
virtual void setLocalTransformations (const Transformations &transformations)=0
 Set local transformations. More...
 

Detailed Description

Particle system entity internal interface.

Author
Andreas Drewke
Version
$Id$

Definition at line 21 of file ParticleSystemEntityInternal.h.

Constructor & Destructor Documentation

◆ ~ParticleSystemEntityInternal()

virtual ~ParticleSystemEntityInternal ( )
inlinevirtual

Public destructor.

Definition at line 27 of file ParticleSystemEntityInternal.h.

Member Function Documentation

◆ emitParticles()

virtual int32_t emitParticles ( )
pure virtual

◆ fromTransformations()

virtual void fromTransformations ( const Transformations transformations)
pure virtual

Set up this transformations from given transformations.

Parameters
transformationstransformations

Implemented in FogParticleSystem, ObjectParticleSystem, PointsParticleSystem, FogParticleSystemInternal, ObjectParticleSystemInternal, and PointsParticleSystemInternal.

◆ getEffectColorAdd()

virtual const Color4 & getEffectColorAdd ( ) const
pure virtual

The effect color will be added to fragment color.

Returns
effect color

Implemented in FogParticleSystem, ObjectParticleSystem, PointsParticleSystem, FogParticleSystemInternal, ObjectParticleSystemInternal, and PointsParticleSystemInternal.

◆ getEffectColorMul()

virtual const Color4 & getEffectColorMul ( ) const
pure virtual

The effect color will be multiplied with fragment color.

Returns
effect color

Implemented in FogParticleSystem, ObjectParticleSystem, PointsParticleSystem, FogParticleSystemInternal, ObjectParticleSystemInternal, and PointsParticleSystemInternal.

◆ getEmitter()

virtual ParticleEmitter * getEmitter ( )
pure virtual

◆ getId()

virtual const string & getId ( )
pure virtual

◆ getLocalTransformations()

virtual const Transformations & getLocalTransformations ( )
pure virtual

◆ isActive()

virtual bool isActive ( )
pure virtual

◆ isAutoEmit()

virtual bool isAutoEmit ( )
pure virtual

◆ isEnabled()

virtual bool isEnabled ( )
pure virtual

◆ isPickable()

virtual bool isPickable ( )
pure virtual

◆ setAutoEmit()

virtual void setAutoEmit ( bool  autoEmit)
pure virtual

◆ setEffectColorAdd()

virtual void setEffectColorAdd ( const Color4 effectColorAdd)
pure virtual

Set the effect color that will be added to fragment color.

Parameters
effectColorAddeffect color

Implemented in FogParticleSystem, ObjectParticleSystem, PointsParticleSystem, FogParticleSystemInternal, ObjectParticleSystemInternal, and PointsParticleSystemInternal.

◆ setEffectColorMul()

virtual void setEffectColorMul ( const Color4 effectColorMul)
pure virtual

Set the effect color that will be multiplied with fragment color.

Parameters
effectColorMuleffect color

Implemented in FogParticleSystem, ObjectParticleSystem, PointsParticleSystem, FogParticleSystemInternal, ObjectParticleSystemInternal, and PointsParticleSystemInternal.

◆ setEnabled()

virtual void setEnabled ( bool  enabled)
pure virtual

◆ setLocalTransformations()

virtual void setLocalTransformations ( const Transformations transformations)
pure virtual

Set local transformations.

Parameters
transformationslocal transformations

Implemented in FogParticleSystem, ObjectParticleSystem, PointsParticleSystem, FogParticleSystemInternal, ObjectParticleSystemInternal, and PointsParticleSystemInternal.

◆ setPickable()

virtual void setPickable ( bool  pickable)
pure virtual

◆ update()

virtual void update ( )
pure virtual

◆ updateParticles()

virtual void updateParticles ( )
pure virtual

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