[OgreKit Lua] |
Public Member Functions | |
gsRaySensor () | |
gsRaySensor (gsLogicObject *parent, const gkString &name="") | |
~gsRaySensor () | |
void | setRange (float v) |
float | getRange (void) |
void | setAxis (int v) |
int | getAxis (void) |
void | setMaterial (const gkString &v) |
gkString | getMaterial (void) |
void | setProperty (const gkString &v) |
gkString | getProperty (void) |
gsVector3 | getHitPoint (void) |
gsVector3 | getHitNormal (void) |
gkGameObject * | getHitObject (void) |
float | getHitFraction (void) |
bool | hasHit (void) |
OGRE_KIT_LOGIC_BRICK (RaySensor) | |
Public Member Functions inherited from gsSensor | |
gsSensor () | |
~gsSensor () | |
void | setPulse (int mode) |
int | getPulse (void) |
void | setFrequency (float f) |
float | getFrequency (void) |
void | setLevel (bool v) |
bool | isLevel (void) |
void | setTap (bool v) |
bool | isTap (void) |
void | setInvert (bool v) |
bool | isInverse (void) |
bool | isPositive (void) |
OGRE_KIT_LOGIC_BRICK_BASE (Sensor) | |
Public Member Functions inherited from gsBrick | |
gsBrick () | |
~gsBrick () | |
gkString | getName (void) |
bool | isOn (void) |
bool | isOff (void) |
bool | isActive (void) |
gkGameObject * | getOwner (void) |
gkLogicLink * | getLogicObject (void) |
void | connect (gsListenerMode mode, gsSelf self, gsFunction func) |
OGRE_KIT_WRAP_CLASS_COPY_CTOR (gsBrick, gkLogicBrick, m_brick) | |
OGRE_KIT_TEMPLATE_CAST (gkLogicBrick, m_brick) | |
Additional Inherited Members | |
Protected Member Functions inherited from gsBrick | |
template<typename T > | |
T * | create (gsLogicObject *parent, const gkString &name) |
Protected Attributes inherited from gsBrick | |
bool | m_isLocal |
EventListener * | m_listener |
gsRaySensor::gsRaySensor | ( | ) |
gsRaySensor::gsRaySensor | ( | gsLogicObject * | parent, |
const gkString & | name = "" |
||
) |
gsRaySensor::~gsRaySensor | ( | ) |
|
inline |
float gsRaySensor::getHitFraction | ( | void | ) |
gsVector3 gsRaySensor::getHitNormal | ( | void | ) |
gkGameObject* gsRaySensor::getHitObject | ( | void | ) |
gsVector3 gsRaySensor::getHitPoint | ( | void | ) |
|
inline |
|
inline |
|
inline |
bool gsRaySensor::hasHit | ( | void | ) |
gsRaySensor::OGRE_KIT_LOGIC_BRICK | ( | RaySensor | ) |
|
inline |
|
inline |
|
inline |
|
inline |