Blender V2.61 - r43446
Public Member Functions

KX_ArmatureSensor Class Reference

#include <KX_ArmatureSensor.h>

Inheritance diagram for KX_ArmatureSensor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KX_ArmatureSensor (class SCA_EventManager *eventmgr, SCA_IObject *gameobj, const char *posechannel, const char *constraintname, int type, float value)
virtual ~KX_ArmatureSensor ()
virtual CValueGetReplica ()
virtual void ReParent (SCA_IObject *parent)
virtual void Init ()
virtual bool Evaluate ()
virtual bool IsPositiveTrigger ()
void FindConstraint ()

Detailed Description

Definition at line 41 of file KX_ArmatureSensor.h.


Constructor & Destructor Documentation

KX_ArmatureSensor::KX_ArmatureSensor ( class SCA_EventManager eventmgr,
SCA_IObject gameobj,
const char *  posechannel,
const char *  constraintname,
int  type,
float  value 
)

Definition at line 46 of file KX_ArmatureSensor.cpp.

References FindConstraint().

Referenced by GetReplica().

KX_ArmatureSensor::~KX_ArmatureSensor ( ) [virtual]

For property sensor, it is used to release the pre-calculated expression so that self references are removed before the sensor itself is released

Definition at line 120 of file KX_ArmatureSensor.cpp.


Member Function Documentation

bool KX_ArmatureSensor::Evaluate ( ) [virtual]
void KX_ArmatureSensor::FindConstraint ( )
CValue * KX_ArmatureSensor::GetReplica ( void  ) [virtual]

Implements SCA_ISensor.

Definition at line 99 of file KX_ArmatureSensor.cpp.

References KX_ArmatureSensor(), and SCA_ISensor::ProcessReplica().

void KX_ArmatureSensor::Init ( void  ) [virtual]

Reimplemented from SCA_ISensor.

Definition at line 62 of file KX_ArmatureSensor.cpp.

References SCA_ISensor::m_invert, and SCA_ISensor::m_reset.

bool KX_ArmatureSensor::IsPositiveTrigger ( ) [virtual]

Reimplemented from SCA_ISensor.

Definition at line 114 of file KX_ArmatureSensor.cpp.

References SCA_ISensor::m_invert.

void KX_ArmatureSensor::ReParent ( SCA_IObject parent) [virtual]

Reimplemented from SCA_ISensor.

Definition at line 107 of file KX_ArmatureSensor.cpp.

References FindConstraint().


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