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

Method removeAffector

OgreMain/src/OgreParticleSystem.cpp:258–264  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

256 }
257 //-----------------------------------------------------------------------
258 void ParticleSystem::removeAffector( unsigned short index )
259 {
260 assert( index < mAffectors.size() && "Affector index out of bounds!" );
261 ParticleAffectorList::iterator ai = mAffectors.begin() + index;
262 ParticleSystemManager::getSingleton()._destroyAffector( *ai );
263 mAffectors.erase( ai );
264 }
265 //-----------------------------------------------------------------------
266 void ParticleSystem::removeAllAffectors()
267 {

Callers

nothing calls this directly

Calls 4

_destroyAffectorMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected