Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Nz::ParticleController Class Referenceabstract

Graphics class which controls a flow of particles. More...

Inheritance diagram for Nz::ParticleController:
Nz::RefCounted Nz::ParticleFunctionController

Public Member Functions

 ParticleController (const ParticleController &controller)
 Constructs a ParticleController object by assignation. More...
 
virtual ~ParticleController ()
 Destructs the object and calls OnParticleControllerRelease. More...
 
virtual void Apply (ParticleGroup &system, ParticleMapper &mapper, unsigned int startId, unsigned int endId, float elapsedTime)=0
 
 NazaraSignal (OnParticleControllerRelease, const ParticleController *)
 
- Public Member Functions inherited from Nz::RefCounted
 RefCounted (bool persistent=true)
 Constructs a RefCounted object with a persistance aspect. More...
 
 RefCounted (const RefCounted &)=delete
 
 RefCounted (RefCounted &&)=default
 
virtual ~RefCounted ()
 Destructs the object. More...
 
void AddReference () const
 Adds a reference to the object.
 
unsigned int GetReferenceCount () const
 Gets the number of references to the object. More...
 
bool IsPersistent () const
 Checks whether the object is persistent. More...
 
bool RemoveReference () const
 Removes a reference to the object. More...
 
bool SetPersistent (bool persistent=true, bool checkReferenceCount=false)
 Sets the persistence of the object. More...
 
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedoperator= (RefCounted &&)=default
 

Friends

class Graphics
 

Detailed Description

Graphics class which controls a flow of particles.

Remarks
This class is abstract

Constructor & Destructor Documentation

◆ ParticleController()

Nz::ParticleController::ParticleController ( const ParticleController controller)

Constructs a ParticleController object by assignation.

Parameters
controllerParticleController to copy into this

◆ ~ParticleController()

Nz::ParticleController::~ParticleController ( )
virtual

Destructs the object and calls OnParticleControllerRelease.

See also
OnParticleControllerRelease

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