Support Forum G3D Web Page |
All properties are in object space. More...
Inherits G3D::ReferenceCountedObject.
Classes | |
class | SpawnLocation |
class | Specification |
Public Member Functions | |
virtual void | spawnParticles (ParticleSystem *system, int numParticlesToEmit, SimTime time, SimTime timeSinceParticleSystemInit, SimTime deltaTime, int emitterIndex) const |
const Specification & | specification () const |
Static Public Member Functions | |
static shared_ptr< Emitter > | create (const Specification &s) |
Protected Member Functions | |
Emitter (const Specification &s) | |
Static Protected Member Functions | |
template<class T , class ... ArgTypes> | |
static shared_ptr< T > | createShared (ArgTypes &&... args) |
Like std::make_shared, but works for protected constructors. More... | |
Protected Attributes | |
shared_ptr< ParticleMaterial > | m_material |
shared_ptr< Shape > | m_spawnShape |
Specification | m_specification |
Friends | |
class | ParticleSystem |
class | ParticleSystemModel |
All properties are in object space.
|
explicitprotected |
Referenced by create().
|
inlinestatic |
|
inlinestaticprotectedinherited |
Like std::make_shared, but works for protected constructors.
Call as createShared<myclass>.
|
virtual |
initialSpawn | True during instantiation of the ParticleSystem. |
|
inline |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
Referenced by specification().