Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btCollisionWorld::RayResultCallback Struct Referenceabstract

RayResultCallback is used to report new raycast results. More...

#include <btCollisionWorld.h>

Inheritance diagram for btCollisionWorld::RayResultCallback:
Inheritance graph
[legend]
Collaboration diagram for btCollisionWorld::RayResultCallback:
Collaboration graph
[legend]

Public Member Functions

virtual ~RayResultCallback ()
 
bool hasHit () const
 
 RayResultCallback ()
 
virtual bool needsCollision (btBroadphaseProxy *proxy0) const
 
virtual btScalar addSingleResult (LocalRayResult &rayResult, bool normalInWorldSpace)=0
 

Public Attributes

btScalar m_closestHitFraction
 
const btCollisionObjectm_collisionObject
 
short int m_collisionFilterGroup
 
short int m_collisionFilterMask
 
unsigned int m_flags
 

Detailed Description

RayResultCallback is used to report new raycast results.

Definition at line 204 of file btCollisionWorld.h.

Constructor & Destructor Documentation

virtual btCollisionWorld::RayResultCallback::~RayResultCallback ( )
inlinevirtual

Definition at line 213 of file btCollisionWorld.h.

btCollisionWorld::RayResultCallback::RayResultCallback ( )
inline

Definition at line 221 of file btCollisionWorld.h.

Member Function Documentation

virtual btScalar btCollisionWorld::RayResultCallback::addSingleResult ( LocalRayResult rayResult,
bool  normalInWorldSpace 
)
pure virtual
bool btCollisionWorld::RayResultCallback::hasHit ( ) const
inline

Definition at line 216 of file btCollisionWorld.h.

virtual bool btCollisionWorld::RayResultCallback::needsCollision ( btBroadphaseProxy proxy0) const
inlinevirtual

Definition at line 231 of file btCollisionWorld.h.

Member Data Documentation

btScalar btCollisionWorld::RayResultCallback::m_closestHitFraction

Definition at line 206 of file btCollisionWorld.h.

short int btCollisionWorld::RayResultCallback::m_collisionFilterGroup

Definition at line 208 of file btCollisionWorld.h.

short int btCollisionWorld::RayResultCallback::m_collisionFilterMask

Definition at line 209 of file btCollisionWorld.h.

const btCollisionObject* btCollisionWorld::RayResultCallback::m_collisionObject

Definition at line 207 of file btCollisionWorld.h.

unsigned int btCollisionWorld::RayResultCallback::m_flags

Definition at line 211 of file btCollisionWorld.h.


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