CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

iPortalCallback Struct Reference
[Crystal Space 3D EngineCrystal Space 3D Engine]

When a sector is missing this callback will be called. More...

#include <iengine/portal.h>

Inheritance diagram for iPortalCallback:

iBase List of all members.

Public Member Functions

virtual bool Traverse (iPortal *portal, iBase *context)=0
 Traverse to the portal.

Detailed Description

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, iFrustumView, or else 0.

Definition at line 127 of file portal.h.


Member Function Documentation

virtual bool iPortalCallback::Traverse iPortal portal,
iBase context
[pure virtual]
 

Traverse to the portal.

It is safe to delete this callback in this function.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4