Facebook Twitter YouTube

class ParticleSystemRegistration

Defined in:  TSParticles.h
The ParticleSystemRegistration class manages internal registration information for a custom particle system type.
Definition

class ParticleSystemRegistration : public Registration<ParticleSystem, ParticleSystemRegistration>

Member Functions
ParticleSystemRegistration::GetParticleSystemType Returns the registered particle system type.
ParticleSystemRegistration::GetParticleSystemName Returns the human-readable particle system name.
Constructor

ParticleSystemRegistration(ParticleSystemType type, const char *name);

Parameters
type The particle system type.
name The particle system name.
Description
The ParticleSystemRegistration class is abstract and serves as the common base class for the template class ParticleSystemReg. A custom particle system is registered with the engine by instantiating an object of type ParticleSystemReg<classType>, where classType is the type of the particle system subclass being registered.
Base Classes
Registration<ParticleSystem, ParticleSystemRegistration> A particle system registration is a specific type of registration object.
See Also

ParticleSystemReg

ParticleSystem