|
NWengine 0.9
|
Represents a particle. More...
#include <ParticleSystem.h>
Public Member Functions | |
| void | Disable () |
| Disables the particle. | |
| void | Enable () |
| Enables the particle. | |
Public Attributes | |
| GameObject | go |
| Sprite * | sprite |
| Transform * | transform |
| bool | isActive = 0 |
| ParticleProperties | prop |
| fVec2 | currentPosition |
| fVec2 | currentScale |
| float | currentSpeed |
| fVec4 | currentColor |
| fVec2 | currentDirection |
| double | clock = 0.0 |
| float | distance = 0.0 |
Represents a particle.
| double Particle::clock = 0.0 |
The clock of the particle
| fVec4 Particle::currentColor |
The current color of the particle
| fVec2 Particle::currentDirection |
The current direction of the particle
| fVec2 Particle::currentPosition |
The current position of the particle
| fVec2 Particle::currentScale |
The current scale of the particle
| float Particle::currentSpeed |
The current speed of the particle
| float Particle::distance = 0.0 |
The distance traveled by the particle
| GameObject Particle::go |
The game object associated with the particle
| bool Particle::isActive = 0 |
Indicates if the particle is active
| ParticleProperties Particle::prop |
The properties of the particle
| Sprite* Particle::sprite |
The sprite of the particle
| Transform* Particle::transform |
The transform of the particle