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
Collaboration diagram for btCollisionWorld::RayResultCallback:
Collaboration graph

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
int m_collisionFilterGroup
int m_collisionFilterMask
unsigned int m_flags

Detailed Description

RayResultCallback is used to report new raycast results.

Definition at line 207 of file btCollisionWorld.h.

Constructor & Destructor Documentation

virtual btCollisionWorld::RayResultCallback::~RayResultCallback ( )

Definition at line 216 of file btCollisionWorld.h.

btCollisionWorld::RayResultCallback::RayResultCallback ( )

Definition at line 224 of file btCollisionWorld.h.

Member Function Documentation

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

Definition at line 219 of file btCollisionWorld.h.

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

Definition at line 234 of file btCollisionWorld.h.

Member Data Documentation

btScalar btCollisionWorld::RayResultCallback::m_closestHitFraction

Definition at line 209 of file btCollisionWorld.h.

int btCollisionWorld::RayResultCallback::m_collisionFilterGroup

Definition at line 211 of file btCollisionWorld.h.

int btCollisionWorld::RayResultCallback::m_collisionFilterMask

Definition at line 212 of file btCollisionWorld.h.

const btCollisionObject* btCollisionWorld::RayResultCallback::m_collisionObject

Definition at line 210 of file btCollisionWorld.h.

unsigned int btCollisionWorld::RayResultCallback::m_flags

Definition at line 214 of file btCollisionWorld.h.

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