RayResultCallback is used to report new raycast results. More...
#include <btCollisionWorld.h>
Public Member Functions | |
virtual btScalar | addSingleResult (LocalRayResult &rayResult, bool normalInWorldSpace)=0 |
bool | hasHit () const |
virtual bool | needsCollision (btBroadphaseProxy *proxy0) const |
RayResultCallback () | |
virtual | ~RayResultCallback () |
Public Attributes | |
btScalar | m_closestHitFraction |
short int | m_collisionFilterGroup |
short int | m_collisionFilterMask |
btCollisionObject * | m_collisionObject |
unsigned int | m_flags |
RayResultCallback is used to report new raycast results.
Definition at line 195 of file btCollisionWorld.h.
virtual btCollisionWorld::RayResultCallback::~RayResultCallback | ( | ) | [inline, virtual] |
Definition at line 204 of file btCollisionWorld.h.
Definition at line 212 of file btCollisionWorld.h.
virtual btScalar btCollisionWorld::RayResultCallback::addSingleResult | ( | LocalRayResult & | rayResult, |
bool | normalInWorldSpace | ||
) | [pure virtual] |
Implemented in btCollisionWorld::AllHitsRayResultCallback, and btCollisionWorld::ClosestRayResultCallback.
bool btCollisionWorld::RayResultCallback::hasHit | ( | ) | const [inline] |
Definition at line 207 of file btCollisionWorld.h.
virtual bool btCollisionWorld::RayResultCallback::needsCollision | ( | btBroadphaseProxy * | proxy0 | ) | const [inline, virtual] |
Definition at line 222 of file btCollisionWorld.h.
Definition at line 197 of file btCollisionWorld.h.
Definition at line 199 of file btCollisionWorld.h.
Definition at line 200 of file btCollisionWorld.h.
btCollisionObject* btCollisionWorld::RayResultCallback::m_collisionObject |
Definition at line 198 of file btCollisionWorld.h.
unsigned int btCollisionWorld::RayResultCallback::m_flags |
Definition at line 202 of file btCollisionWorld.h.