NWengine 0.9
Loading...
Searching...
No Matches
Particle Class Reference

Represents a particle. More...

#include <ParticleSystem.h>

Public Member Functions

void Disable ()
 Disables the particle.
 
void Enable ()
 Enables the particle.
 

Public Attributes

GameObject go
 
Spritesprite
 
Transformtransform
 
bool isActive = 0
 
ParticleProperties prop
 
fVec2 currentPosition
 
fVec2 currentScale
 
float currentSpeed
 
fVec4 currentColor
 
fVec2 currentDirection
 
double clock = 0.0
 
float distance = 0.0
 

Detailed Description

Represents a particle.

Member Data Documentation

◆ clock

double Particle::clock = 0.0

The clock of the particle

◆ currentColor

fVec4 Particle::currentColor

The current color of the particle

◆ currentDirection

fVec2 Particle::currentDirection

The current direction of the particle

◆ currentPosition

fVec2 Particle::currentPosition

The current position of the particle

◆ currentScale

fVec2 Particle::currentScale

The current scale of the particle

◆ currentSpeed

float Particle::currentSpeed

The current speed of the particle

◆ distance

float Particle::distance = 0.0

The distance traveled by the particle

◆ go

GameObject Particle::go

The game object associated with the particle

◆ isActive

bool Particle::isActive = 0

Indicates if the particle is active

◆ prop

ParticleProperties Particle::prop

The properties of the particle

◆ sprite

Sprite* Particle::sprite

The sprite of the particle

◆ transform

Transform* Particle::transform

The transform of the particle


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