| Trees | Indices | Help |
|
|---|
|
|
PyObjectPlus --+
|
CValue --+
|
SCA_ILogicBrick --+
|
SCA_ISensor
|
|||
|
|||
| Deprecated | |||
|---|---|---|---|
|
|||
|
|||
|
|||
|
|||
| integer |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| boolean |
|
||
|
|||
| Inherited from SCA_ILogicBrick | |||
| integer |
|
||
| KX_GameObject |
|
||
|
|||
| Inherited from CValue | |||
| string |
|
||
| Inherited from PyObjectPlus | |||
| bool |
|
||
|
|||
| int |
frequency The frequency for pulse mode sensors. |
||
| boolean |
invert Flag to set if this sensor activates on positive or negative events. |
||
| boolean |
level Option whether to detect level or edge transition when entering a state. |
||
| boolean |
positive True if this sensor brick is in a positive state. |
||
| boolean |
tap When enabled only sensors that are just activated will send a positive event, after this they will be detected as negative by the controllers. |
||
| boolean |
triggered True if this sensor brick is in a positive state. |
||
| boolean |
useNegPulseMode Flag to turn negative pulse mode on and off. |
||
| boolean |
usePosPulseMode Flag to turn positive pulse mode on and off. |
||
| Inherited from SCA_ILogicBrick | |||
|---|---|---|---|
| int |
executePriority This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). |
||
| string |
name The name of this CValue derived object (read-only). |
||
| KX_GameObject or None in exceptional cases. |
owner The game object this logic brick is attached to (read-only). |
||
| Inherited from PyObjectPlus | |||
| bool |
invalid Test if the object has been freed by the game engine and is no longer valid. |
||
|
|||
Reset sensor internal state, effect depends on the type of sensor and settings. The sensor is put in its initial state as if it was just activated. |
Deprecated: use positive |
Deprecated: use triggered |
Deprecated: use usePosPulseMode |
Deprecated: use usePosPulseMode |
Deprecated: use frequency |
Deprecated: use frequency |
Deprecated: use useNegPulseMode |
Deprecated: use useNegPulseMode |
Deprecated: use invert |
Deprecated: use invert |
Deprecated: use level |
Deprecated: use level |
|
|||
levelOption whether to detect level or edge transition when entering a state. It makes a difference only in case of logic state transition (state actuator). A level detector will immediately generate a pulse, negative or positive depending on the sensor condition, as soon as the state is activated. A edge detector will wait for a state change before generating a pulse. note: mutually exclusive with tap, enabling will disable tap.
|
positiveTrue if this sensor brick is in a positive state. (read-only)
|
tapWhen enabled only sensors that are just activated will send a positive event, after this they will be detected as negative by the controllers. This will make a key thats held act as if its only tapped for an instant. note: mutually exclusive with level, enabling will disable level.
|
triggeredTrue if this sensor brick is in a positive state. (read-only)
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Wed Aug 26 12:07:42 2009 | http://epydoc.sourceforge.net |