OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::Bullet::DebugDrawer Class Reference

#include <OgreBullet.h>

+ Inheritance diagram for Ogre::Bullet::DebugDrawer:

Public Member Functions

 DebugDrawer (SceneNode *node, btDynamicsWorld *world)
 
void clear ()
 
void draw3dText (const btVector3 &location, const char *textString) override
 
void drawContactPoint (const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color) override
 
void drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &color) override
 
int getDebugMode () const override
 
void reportErrorWarning (const char *warningString) override
 
void setDebugMode (int mode) override
 
void update ()
 

Constructor & Destructor Documentation

◆ DebugDrawer()

Ogre::Bullet::DebugDrawer::DebugDrawer ( SceneNode node,
btDynamicsWorld *  world 
)
inline

Member Function Documentation

◆ update()

void Ogre::Bullet::DebugDrawer::update ( void  )
inline

◆ drawLine()

void Ogre::Bullet::DebugDrawer::drawLine ( const btVector3 &  from,
const btVector3 &  to,
const btVector3 &  color 
)
override

◆ drawContactPoint()

void Ogre::Bullet::DebugDrawer::drawContactPoint ( const btVector3 &  PointOnB,
const btVector3 &  normalOnB,
btScalar  distance,
int  lifeTime,
const btVector3 &  color 
)
inlineoverride

◆ reportErrorWarning()

void Ogre::Bullet::DebugDrawer::reportErrorWarning ( const char *  warningString)
inlineoverride

◆ draw3dText()

void Ogre::Bullet::DebugDrawer::draw3dText ( const btVector3 &  location,
const char *  textString 
)
inlineoverride

◆ setDebugMode()

void Ogre::Bullet::DebugDrawer::setDebugMode ( int  mode)
inlineoverride

◆ clear()

void Ogre::Bullet::DebugDrawer::clear ( void  )
inline

◆ getDebugMode()

int Ogre::Bullet::DebugDrawer::getDebugMode ( ) const
inlineoverride

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