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

Method rrMoveMapLightFlicker

source/render/RenderManager.cpp:1185–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183}
1184
1185void RenderManager::rrMoveMapLightFlicker(MapLight* mapLight, const Ogre::Vector3& position)
1186{
1187 if(mapLight->getFlickerNode() == nullptr)
1188 {
1189 OD_LOG_ERR("MapLight do not have flicker=" + mapLight->getName());
1190 return;
1191 }
1192
1193 mapLight->getFlickerNode()->setPosition(position);
1194}
1195
1196Ogre::ParticleSystem* RenderManager::rrEntityAddParticleEffect(GameEntity* entity, const std::string& particleName,
1197 const std::string& particleScript)

Callers

nothing calls this directly

Calls 2

getFlickerNodeMethod · 0.80
setPositionMethod · 0.45

Tested by

no test coverage detected