Circle particle emitter.
More...
#include <tdme/engine/subsystems/particlesystem/CircleParticleEmitter.h>
|
| CircleParticleEmitter (int32_t count, int64_t lifeTime, int64_t lifeTimeRnd, const Vector3 &axis0, const Vector3 &axis1, const Vector3 ¢er, float radius, float mass, float massRnd, const Vector3 &velocity, const Vector3 &velocityRnd, const Color4 &colorStart, const Color4 &colorEnd) |
| Public constructor. More...
|
|
const Vector3 & | getCenter () const override |
|
int32_t | getCount () const override |
|
const Vector3 & | getVelocity () const |
|
const Vector3 & | getVelocityRnd () const |
|
const Color4 & | getColorStart () const override |
|
void | setColorStart (const Color4 &colorStart) override |
| Set start color. More...
|
|
const Color4 & | getColorEnd () const override |
|
void | setColorEnd (const Color4 &colorEnd) override |
| Set end color. More...
|
|
void | emit (Particle *particle) override |
| Emits particles. More...
|
|
void | fromTransformations (const Transformations &transformations) override |
| Update transformation with given transformations. More...
|
|
Public Member Functions inherited from ParticleEmitter |
virtual const Vector3 & | getCenter () const =0 |
|
virtual int32_t | getCount () const =0 |
|
virtual const Color4 & | getColorStart () const =0 |
|
virtual void | setColorStart (const Color4 &colorStart)=0 |
| Set start color. More...
|
|
virtual const Color4 & | getColorEnd () 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...
|
|
Circle particle emitter.
- Author
- Andreas Drewke
- Version
- $Id$
Definition at line 23 of file CircleParticleEmitter.h.
◆ CircleParticleEmitter()
CircleParticleEmitter |
( |
int32_t |
count, |
|
|
int64_t |
lifeTime, |
|
|
int64_t |
lifeTimeRnd, |
|
|
const Vector3 & |
axis0, |
|
|
const Vector3 & |
axis1, |
|
|
const Vector3 & |
center, |
|
|
float |
radius, |
|
|
float |
mass, |
|
|
float |
massRnd, |
|
|
const Vector3 & |
velocity, |
|
|
const Vector3 & |
velocityRnd, |
|
|
const Color4 & |
colorStart, |
|
|
const Color4 & |
colorEnd |
|
) |
| |
Public constructor.
- Parameters
-
count | particles to emit in one second |
lifeTime | life time |
lifeTimeRnd | life time rnd |
axis0 | axis 0 |
axis1 | axis 1 |
center | center |
radius | radius |
mass | mass |
massRnd | mass rnd |
velocity | velocity |
velocityRnd | velocity rnd |
colorStart | color start |
colorEnd | color end |
Definition at line 21 of file CircleParticleEmitter.cpp.
◆ emit()
◆ fromTransformations()
◆ getCenter()
const Vector3 & getCenter |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getColorEnd()
const Color4 & getColorEnd |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getColorStart()
const Color4 & getColorStart |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getCount()
int32_t getCount |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getVelocity()
const Vector3 & getVelocity |
( |
| ) |
const |
|
inline |
◆ getVelocityRnd()
const Vector3 & getVelocityRnd |
( |
| ) |
const |
|
inline |
◆ setColorEnd()
void setColorEnd |
( |
const Color4 & |
colorEnd | ) |
|
|
inlineoverridevirtual |
◆ setColorStart()
void setColorStart |
( |
const Color4 & |
colorStart | ) |
|
|
inlineoverridevirtual |
◆ axis0
◆ axis0Transformed
◆ axis1
◆ axis1Transformed
◆ center
◆ centerTransformed
◆ colorEnd
◆ colorStart
◆ count
◆ lifeTime
◆ lifeTimeRnd
◆ mass
◆ massRnd
◆ radius
◆ radiusTransformed
◆ velocity
◆ velocityRnd
The documentation for this class was generated from the following files: