MCPcopy Create free account
hub / github.com/carbonengine/trinity / RemoveOverlayEffect

Method RemoveOverlayEffect

trinity/Eve/SpaceObject/EveSpaceObject2.cpp:2934–2941  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Remove a specific overlayEffect from the space object --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2932// Remove a specific overlayEffect from the space object
2933// --------------------------------------------------------------------------------
2934void EveSpaceObject2::RemoveOverlayEffect( EveMeshOverlayEffectPtr overlayEffectToRemove )
2935{
2936 ssize_t index = m_overlayEffects.FindKey( overlayEffectToRemove->GetRawRoot() );
2937 if( index >= 0 )
2938 {
2939 m_overlayEffects.Remove( index );
2940 }
2941}
2942
2943// --------------------------------------------------------------------------------
2944// Description:

Callers 1

StopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected