#include <OgreDefaultDebugDrawer.h>
|
| DefaultDebugDrawer () |
|
void | drawAxes (const Affine3 &pose, float size=1.0f) |
| draw coordinate axes
|
|
void | drawBone (const Node *node, const Affine3 &transform=Affine3::IDENTITY) override |
|
void | drawFrustum (const Frustum *frust) override |
|
void | drawSceneNode (const SceneNode *node) override |
|
void | drawWireBox (const AxisAlignedBox &aabb, const ColourValue &colour=ColourValue::White) |
| Allows the rendering of a wireframe bounding box.
|
|
void | setBoneAxesSize (float size) |
| Specifes the size of the axes drawn by drawBone()
|
|
void | setStatic (bool enable) |
| if static, the drawer contents are preserved across frames. They are cleared otherwise.
|
|
virtual | ~DebugDrawer () |
|
virtual void | drawBone (const Node *node, const Affine3 &transform=Affine3::IDENTITY)=0 |
|
virtual void | drawFrustum (const Frustum *frust)=0 |
|
virtual void | drawSceneNode (const SceneNode *node)=0 |
|
| Listener () |
|
virtual | ~Listener () |
|
virtual void | postFindVisibleObjects (SceneManager *source, IlluminationRenderStage irs, Viewport *v) |
| Called after searching for visible objects in this SceneManager.
|
|
virtual void | postUpdateSceneGraph (SceneManager *source, Camera *camera) |
| Called after updating the scene graph in this SceneManager.
|
|
virtual void | preFindVisibleObjects (SceneManager *source, IlluminationRenderStage irs, Viewport *v) |
| Called prior to searching for visible objects in this SceneManager.
|
|
virtual void | preUpdateSceneGraph (SceneManager *source, Camera *camera) |
| Called prior to updating the scene graph in this SceneManager.
|
|
virtual void | sceneManagerDestroyed (SceneManager *source) |
| Event notifying the listener of the SceneManager's destruction.
|
|
◆ DrawType
Enumerator |
---|
DT_AXES | |
DT_WIREBOX | |
◆ DefaultDebugDrawer()
Ogre::DefaultDebugDrawer::DefaultDebugDrawer |
( |
| ) |
|
◆ setStatic()
void Ogre::DefaultDebugDrawer::setStatic |
( |
bool |
enable | ) |
|
|
inline |
if static, the drawer contents are preserved across frames. They are cleared otherwise.
◆ drawBone()
◆ drawSceneNode()
void Ogre::DefaultDebugDrawer::drawSceneNode |
( |
const SceneNode * |
node | ) |
|
|
overridevirtual |
◆ drawFrustum()
void Ogre::DefaultDebugDrawer::drawFrustum |
( |
const Frustum * |
frust | ) |
|
|
overridevirtual |
◆ drawWireBox()
Allows the rendering of a wireframe bounding box.
◆ drawAxes()
void Ogre::DefaultDebugDrawer::drawAxes |
( |
const Affine3 & |
pose, |
|
|
float |
size = 1.0f |
|
) |
| |
◆ setBoneAxesSize()
void Ogre::DefaultDebugDrawer::setBoneAxesSize |
( |
float |
size | ) |
|
The documentation for this class was generated from the following file: