MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / addEntityParticleEffectMenu

Method addEntityParticleEffectMenu

source/render/RenderManager.cpp:356–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356Ogre::ParticleSystem* RenderManager::addEntityParticleEffectMenu(Ogre::SceneNode* node,
357 const std::string& particleName, const std::string& particleScript)
358{
359 Ogre::ParticleSystem* particleSystem = mSceneManager->createParticleSystem(particleName, particleScript);
360 node->attachObject(particleSystem);
361 return particleSystem;
362}
363
364void RenderManager::removeEntityParticleEffectMenu(Ogre::SceneNode* node,
365 Ogre::ParticleSystem* particleSystem)

Callers 1

activateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected