Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_RaySensor Class Reference

Cast a ray and feel for objects. More...

#include <KX_RaySensor.h>

Inheritance diagram for KX_RaySensor:

SCA_ISensor SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

Public Methods

 KX_RaySensor (class SCA_EventManager* eventmgr, SCA_IObject* gameobj, const CCString& propname, bool fFindMaterial, double distance, class SM_Scene* sumoScene, PyTypeObject* T =&Type)
 Cast a ray and feel for objects. More...

virtual ~KX_RaySensor ()
virtual CValueGetReplica ()
virtual bool Evaluate (CValue* event)
virtual bool IsPositiveTrigger ()
 KX_PYMETHOD_DOC (KX_RaySensor,GetHitObject)
 KX_PYMETHOD_DOC (KX_RaySensor,GetHitPosition)
 KX_PYMETHOD_DOC (KX_RaySensor,GetHitNormal)
virtual PyObject_getattr (char *attr)

Detailed Description

Cast a ray and feel for objects.

Version:

Id:
KX_RaySensor.h,v 1.4 2001/01/19 01:16:55 coockie Exp

Definition at line 13 of file KX_RaySensor.h.


Constructor & Destructor Documentation

KX_RaySensor::KX_RaySensor ( class SCA_EventManager * eventmgr,
SCA_IObject * gameobj,
const CCString & propname,
bool bFindMaterial,
double distance,
class SM_Scene * sumoScene,
PyTypeObject * T = &Type )
 

Cast a ray and feel for objects.

Version:

Id:
KX_RaySensor.cpp,v 1.5 2001/01/19 01:16:55 coockie Exp

Definition at line 18 of file KX_RaySensor.cpp.

Referenced by GetReplica().

KX_RaySensor::~KX_RaySensor ( ) [virtual]
 

Definition at line 40 of file KX_RaySensor.cpp.


Member Function Documentation

bool KX_RaySensor::Evaluate ( CValue * event ) [virtual]
 

Reimplemented from SCA_ISensor.

Definition at line 45 of file KX_RaySensor.cpp.

CValue * KX_RaySensor::GetReplica ( ) [inline, virtual]
 

Reimplemented from SCA_ISensor.

Definition at line 36 of file KX_RaySensor.h.

bool KX_RaySensor::IsPositiveTrigger ( ) [inline, virtual]
 

Reimplemented from SCA_ISensor.

Definition at line 44 of file KX_RaySensor.h.

KX_RaySensor::KX_PYMETHOD_DOC ( KX_RaySensor,
GetHitNormal )
 

KX_RaySensor::KX_PYMETHOD_DOC ( KX_RaySensor,
GetHitPosition )
 

KX_RaySensor::KX_PYMETHOD_DOC ( KX_RaySensor,
GetHitObject )
 

PyObject * KX_RaySensor::_getattr ( char * attr ) [virtual]
 

Reimplemented from SCA_ISensor.

Definition at line 247 of file KX_RaySensor.cpp.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:43 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000