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

Method removeAllAffectors

OgreMain/src/OgreParticleSystem.cpp:266–275  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

264 }
265 //-----------------------------------------------------------------------
266 void ParticleSystem::removeAllAffectors()
267 {
268 // DON'T delete directly, we don't know what heap these have been created on
269 ParticleAffectorList::iterator ai;
270 for( ai = mAffectors.begin(); ai != mAffectors.end(); ++ai )
271 {
272 ParticleSystemManager::getSingleton()._destroyAffector( *ai );
273 }
274 mAffectors.clear();
275 }
276 //-----------------------------------------------------------------------
277 ParticleSystem &ParticleSystem::operator=( const ParticleSystem &rhs )
278 {

Callers 1

translateMethod · 0.80

Calls 4

_destroyAffectorMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected