C4 Engine
C4 Engine API Documentation

MarkingList::HandleDestruction

Defined in:  C4Markings.h
Called when all parts of a surface marking have been destroyed.
Prototype

virtual void HandleDestruction(void);

Description
The HandleDestruction function is called when the last marking effect contained in a MarkingList object is destroyed because its lifetime has expired. This function should be implemented by a custom subclass of the MarkingList class to perform any action required when the marking completely disappears from the scene. The HandleDestruction function is not called if no marking effects are created in the first place during a call to the MarkingEffect::NewMarkingEffect function.
See Also

MarkingEffect

MarkingData