Blender V2.61 - r43446

KX_RayCast::Callback< T > Class Template Reference

#include <KX_RayCast.h>

Inheritance diagram for KX_RayCast::Callback< T >:

List of all members.

Public Member Functions

 Callback (T *_self, KX_IPhysicsController *controller=NULL, void *_data=NULL, bool faceNormal=false, bool faceUV=false)
 ~Callback ()
virtual bool RayHit (KX_ClientObjectInfo *client)
virtual bool needBroadphaseRayCast (PHY_IPhysicsController *controller)

Detailed Description

template<class T>
class KX_RayCast::Callback< T >

Definition at line 105 of file KX_RayCast.h.


Constructor & Destructor Documentation

template<class T>
KX_RayCast::Callback< T >::Callback ( T *  _self,
KX_IPhysicsController controller = NULL,
void *  _data = NULL,
bool  faceNormal = false,
bool  faceUV = false 
) [inline]

Definition at line 110 of file KX_RayCast.h.

template<class T>
KX_RayCast::Callback< T >::~Callback ( ) [inline]

Definition at line 117 of file KX_RayCast.h.


Member Function Documentation

template<class T>
virtual bool KX_RayCast::Callback< T >::needBroadphaseRayCast ( PHY_IPhysicsController controller) [inline, virtual]

Reimplemented from PHY_IRayCastFilterCallback.

Definition at line 124 of file KX_RayCast.h.

References PHY_IController::getNewClientInfo(), and MT_assert.

template<class T>
virtual bool KX_RayCast::Callback< T >::RayHit ( KX_ClientObjectInfo client) [inline, virtual]

ray test callback. either override this in your class, or use a callback wrapper.

Implements KX_RayCast.

Definition at line 119 of file KX_RayCast.h.


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