iSectorMeshCallback Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iSectorMeshCallback Struct Reference
Crystal Space 3D Engine

Set a callback which is called when a mesh is added or removed from this sector. More...

`#include <iengine/sector.h>`

Inheritance diagram for iSectorMeshCallback:

List of all members.

## Public Member Functions
virtual void | NewMesh (iSector *sector, iMeshWrapper *mesh)=0
| New mesh.
virtual void | RemoveMesh (iSector *sector, iMeshWrapper *mesh)=0
| Remove mesh.

## Detailed Description

Set a callback which is called when a mesh is added or removed from this sector.

This callback is used by:

- iSector

Definition at line 121 of file sector.h.

## Member Function Documentation

virtual void iSectorMeshCallback::NewMesh | ( | iSector * | sector,
|  | iMeshWrapper * | mesh
| ) |  | `[pure virtual]`

New mesh.

Note that this is also called if the mesh is added as child of another mesh that is in the sector.

virtual void iSectorMeshCallback::RemoveMesh | ( | iSector * | sector,
|  | iMeshWrapper * | mesh
| ) |  | `[pure virtual]`

Remove mesh.

The documentation for this struct was generated from the following file:

- iengine/sector.h