FrameBegin3DDraw Class ReferenceFrameBegin3DDraw handles every csevFrame event in the 3D phase.
Inheritance diagram for FrameBegin3DDraw:
Public Member Functions
|virtual bool||HandleEvent (iEvent &)|
|This is the basic event handling function. |
|csRef< iEngine >||engine|
|csRef< iGraphics3D >||g3d|
|csRef< iView >||view|
Detailed DescriptionFrameBegin3DDraw handles every csevFrame event in the 3D phase.
It calls g3d->BeginDraw(engine->GetBeginDrawFlags () | CSDRAW_3DGRAPHICS) and view->Draw (), where engine and g3d are loaded from the registry by the constructor and view is loaded from the registry each time the event is handled. The handler returns false, so it will not prevent any subsequent csevFrame handlers being called.
Member Function Documentation
|virtual bool FrameBegin3DDraw::HandleEvent||(||iEvent &||)||
This is the basic event handling function.
To receive events, a component must implement iEventHandler and register with an event queue using iEventQueue::RegisterListener() and iEventQueue::Subscribe(). The event handler should return true if the event was handled. Returning true prevents the event from being passed along to other event handlers (unless the event's Broadcast flag has been set, in which case it is sent to all subscribers regardless of the return value). If the event was not handled, then false should be returned, in which case other event handlers are given a shot at the event. Do not return true unless you really handled the event and want event dispatch to stop at your handler.
The documentation for this class was generated from the following file:
Generated for Crystal Space 1.0.2 by doxygen 1.4.7