MarkingListclass contains a list of marking effects.
class MarkingList : public List<MarkingEffect>
||Called when all parts of a surface marking have been destroyed.|
MarkingListclass is used to contain a list of the marking effects created during a single call to the
MarkingEffect::NewMarkingEffectfunction. When a new surface marking is created, it can be split over multiple geometries, and each part gets its own
MarkingEffectnode. If a pointer to a
MarkingListobject (or a subclass object) is specified in the
MarkingDatastructure, then all of the
MarkingEffectnodes are added to that list.
When the last marking effect in the list is destroyed because its lifetime has expired, the
MarkingList::HandleDestructionfunction is called. This function should be implemented by a custom subclass of the
MarkingListclass to perform any action required when the marking completely disappears from the scene. The
HandleDestructionfunction is not called if no marking effects are created in the first place during a call to the
MarkingListobject effectively removes the entire surface marking from the scene.