hgeGUIObject::Leave

Is called when the GUI is about to disappear from the screen. So, if the control has a leave animation, it should be started.

virtual void Leave();

Remarks

The actual animation should happen in the Update method. When the animation is finished, IsDone shoud return true.

hgeGUIObject has default implementation, so you could not redefine this method if you don't need it.

Requirements

Header: hgegui.h

See also

Enter