CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iPortalCallback Struct Reference

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

#include <portal.h>

Inheritance diagram for iPortalCallback:

iBase List of all members.

Public Methods

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


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 99 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.2.14