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

bge.types.KX_StateActuator.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7dbe47276fd575ca777b0cb81279baa67e9c8460 (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
KX_StateActuator(SCA_IActuator)
===============================

base class --- :class:`SCA_IActuator`

.. class:: KX_StateActuator(SCA_IActuator)

   State actuator changes the state mask of parent object.

   .. attribute:: operation

      Type of bit operation to be applied on object state mask.
      
      You can use one of :ref:`these constants <state-actuator-operation>`

      :type: integer

   .. attribute:: mask

      Value that defines the bits that will be modified by the operation.

      The bits that are 1 in the mask will be updated in the object state.

      The bits that are 0 are will be left unmodified expect for the Copy operation which copies the mask to the object state.

      :type: integer