![]() |
OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
|
#include <OgreDefaultDebugDrawer.h>
Public Types | |
enum | DrawType { DT_AXES = 1 << 0 , DT_WIREBOX = 1 << 1 } |
Public Member Functions | |
DefaultDebugDrawer () | |
void | drawAxes (const Affine3 &pose, float size=1.0f) |
draw coordinate axes | |
void | drawBone (const Node *node) |
void | drawFrustum (const Frustum *frust) |
void | drawSceneNode (const SceneNode *node) |
void | drawWireBox (const AxisAlignedBox &aabb, const ColourValue &colour=ColourValue::White) |
Allows the rendering of a wireframe bounding box. | |
void | setStatic (bool enable) |
if static, the drawer contents are preserved across frames. They are cleared otherwise. | |
![]() | |
virtual | ~DebugDrawer () |
![]() | |
Listener () | |
virtual | ~Listener () |
virtual void | postUpdateSceneGraph (SceneManager *source, Camera *camera) |
Called after updating the scene graph 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. | |
virtual void | shadowTextureCasterPreViewProj (Light *light, Camera *camera, size_t iteration) |
This event occurs just before the view & projection matrices are set for rendering into a shadow texture. | |
virtual void | shadowTextureReceiverPreViewProj (Light *light, Frustum *frustum) |
This event occurs just before the view & projection matrices are set for re-rendering a shadow receiver. | |
virtual void | shadowTexturesUpdated (size_t numberOfShadowTextures) |
Event raised after all shadow textures have been rendered into for all queues / targets but before any other geometry has been rendered (including main scene geometry and any additional shadow receiver passes). | |
virtual bool | sortLightsAffectingFrustum (LightList &lightList) |
Hook to allow the listener to override the ordering of lights for the entire frustum. | |
Ogre::DefaultDebugDrawer::DefaultDebugDrawer | ( | ) |
if static, the drawer contents are preserved across frames. They are cleared otherwise.
Implements Ogre::DebugDrawer.
Implements Ogre::DebugDrawer.
Implements Ogre::DebugDrawer.
void Ogre::DefaultDebugDrawer::drawWireBox | ( | const AxisAlignedBox & | aabb, |
const ColourValue & | colour = ColourValue::White |
||
) |
Allows the rendering of a wireframe bounding box.
draw coordinate axes