![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Page strategy which loads new pages based on a regular 3D grid. More...
#include <OgreGrid3DPageStrategy.h>
Inheritance diagram for Ogre::Grid3DPageStrategy:Public Member Functions | |
| Grid3DPageStrategy (PageManager *manager) | |
| ~Grid3DPageStrategy () | |
| PageStrategyData * | createData () |
| Create a PageStrategyData instance containing the data specific to this PageStrategy. More... | |
| void | destroyData (PageStrategyData *d) |
| Destroy a PageStrategyData instance containing the data specific to this PageStrategy. More... | |
| virtual void | frameEnd (Real timeElapsed, PagedWorldSection *section) |
| Called when the frame ends. More... | |
| virtual void | frameStart (Real timeSinceLastFrame, PagedWorldSection *section) |
| Called when the frame starts. More... | |
| PageManager * | getManager () const |
| const String & | getName () const |
| PageID | getPageID (const Vector3 &worldPos, PagedWorldSection *section) |
| Get the page ID for a given world position. More... | |
| void | notifyCamera (Camera *cam, PagedWorldSection *section) |
| Called when a camera is used for any kind of rendering. More... | |
| void | updateDebugDisplay (Page *p, SceneNode *sn) |
| Update the contents of the passed in SceneNode to reflect the debug display of a given page. More... | |
Page strategy which loads new pages based on a regular 3D grid.
| Ogre::Grid3DPageStrategy::Grid3DPageStrategy | ( | PageManager * | manager | ) |
| Ogre::Grid3DPageStrategy::~Grid3DPageStrategy | ( | ) |
|
virtual |
Called when a camera is used for any kind of rendering.
| cam | Camera which is being used for rendering. Class should not rely on this pointer remaining valid permanently because no notification will be given when the camera is destroyed. |
Reimplemented from Ogre::PageStrategy.
|
virtual |
Create a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
|
virtual |
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
Implements Ogre::PageStrategy.
|
virtual |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Called when the frame starts.
|
inlinevirtualinherited |
Called when the frame ends.