MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / removeAllEmitters

Method removeAllEmitters

OgreMain/src/OgreParticleSystem.cpp:228–237  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

226 }
227 //-----------------------------------------------------------------------
228 void ParticleSystem::removeAllEmitters()
229 {
230 // DON'T delete directly, we don't know what heap these have been created on
231 ParticleEmitterList::iterator ei;
232 for( ei = mEmitters.begin(); ei != mEmitters.end(); ++ei )
233 {
234 ParticleSystemManager::getSingleton()._destroyEmitter( *ei );
235 }
236 mEmitters.clear();
237 }
238 //-----------------------------------------------------------------------
239 ParticleAffector *ParticleSystem::addAffector( const String &affectorType )
240 {

Callers 1

translateMethod · 0.80

Calls 4

_destroyEmitterMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected