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

Graphics class which generates particles. More...

Inheritance diagram for Nz::ParticleGenerator:
Nz::RefCounted Nz::ParticleFunctionGenerator

Public Member Functions

 ParticleGenerator (const ParticleGenerator &generator)
 Constructs a ParticleGenerator object by assignation. More...
 
virtual ~ParticleGenerator ()
 Destructs the object and calls OnParticleGeneratorRelease. More...
 
virtual void Generate (ParticleGroup &system, ParticleMapper &mapper, unsigned int startId, unsigned int endId)=0
 
 NazaraSignal (OnParticleGeneratorRelease, const ParticleGenerator *)
 
- 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 generates particles.

Remarks
This class is abstract

Constructor & Destructor Documentation

◆ ParticleGenerator()

Nz::ParticleGenerator::ParticleGenerator ( const ParticleGenerator generator)

Constructs a ParticleGenerator object by assignation.

Parameters
generatorParticleGenerator to copy into this

◆ ~ParticleGenerator()

Nz::ParticleGenerator::~ParticleGenerator ( )
virtual

Destructs the object and calls OnParticleGeneratorRelease.

See also
OnParticleGeneratorRelease

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