![]() |
Public API Reference |
![]() |
When a sector is missing this callback will be called. More...
#include <iengine/portal.h>
Public Member Functions | |
virtual bool | Traverse (iPortal *portal, iBase *context)=0 |
Traverse to the portal. |
When a sector is missing this callback will be called.
If this callback returns false then this portal will not be traversed. Otherwise this callback has to set up the destination sector and return true. The given context will be either an instance of iRenderView or else 0.
This callback is used by:
virtual bool iPortalCallback::Traverse | ( | iPortal * | portal, |
iBase * | context | ||
) | [pure virtual] |
Traverse to the portal.
It is safe to delete this callback in this function.