Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python_api/rst/bge_types/bge.types.SCA_ISensor.rst')
-rw-r--r--doc/python_api/rst/bge_types/bge.types.SCA_ISensor.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.SCA_ISensor.rst b/doc/python_api/rst/bge_types/bge.types.SCA_ISensor.rst
index 7c8d632b0a2..43f5377fb1a 100644
--- a/doc/python_api/rst/bge_types/bge.types.SCA_ISensor.rst
+++ b/doc/python_api/rst/bge_types/bge.types.SCA_ISensor.rst
@@ -10,13 +10,13 @@ base class --- :class:`SCA_ILogicBrick`
.. attribute:: usePosPulseMode
Flag to turn positive pulse mode on and off.
-
+
:type: boolean
.. attribute:: useNegPulseMode
Flag to turn negative pulse mode on and off.
-
+
:type: boolean
.. attribute:: frequency
@@ -44,7 +44,7 @@ base class --- :class:`SCA_ILogicBrick`
.. attribute:: tap
- When enabled only sensors that are just activated will send a positive event,
+ When 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 :data:`level`, enabling will disable :data:`level`.
@@ -54,31 +54,31 @@ base class --- :class:`SCA_ILogicBrick`
.. attribute:: invert
Flag to set if this sensor activates on positive or negative events.
-
+
:type: boolean
.. attribute:: triggered
True if this sensor brick is in a positive state. (read-only).
-
+
:type: boolean
.. attribute:: positive
True if this sensor brick is in a positive state. (read-only).
-
+
:type: boolean
.. attribute:: pos_ticks
The number of ticks since the last positive pulse (read-only).
-
+
:type: int
.. attribute:: neg_ticks
The number of ticks since the last negative pulse (read-only).
-
+
:type: int
.. attribute:: status
@@ -88,7 +88,7 @@ base class --- :class:`SCA_ILogicBrick`
:type: int
.. note::
-
+
This convenient attribute combines the values of triggered and positive attributes.
.. method:: reset()