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

bge.types.SCA_PropertySensor.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9fd1cc313ff2351f15b2d2baf33cc86b1ec2b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SCA_PropertySensor(SCA_ISensor)
===============================

base class --- :class:`SCA_ISensor`

.. class:: SCA_PropertySensor(SCA_ISensor)

   Activates when the game object property matches.

   .. attribute:: mode

      Type of check on the property. Can be one of :ref:`these constants <logic-property-sensor>`

      :type: integer.

   .. attribute:: propName

      the property the sensor operates.

      :type: string

   .. attribute:: value

      the value with which the sensor compares to the value of the property.

      :type: string

   .. attribute:: min

      the minimum value of the range used to evaluate the property when in interval mode.

      :type: string

   .. attribute:: max

      the maximum value of the range used to evaluate the property when in interval mode.

      :type: string