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

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

.. module:: bge.types

base class --- :class:`KX_GameObject`

.. class:: BL_ArmatureObject(KX_GameObject)

   An armature object.

   .. attribute:: constraints

      The list of armature constraint defined on this armature.
      Elements of the list can be accessed by index or string.
      The key format for string access is '<bone_name>:<constraint_name>'.

      :type: list of :class:`BL_ArmatureConstraint`

   .. attribute:: channels

      The list of armature channels.
      Elements of the list can be accessed by index or name the bone.

      :type: list of :class:`BL_ArmatureChannel`

   .. method:: update()

      Ensures that the armature will be updated on next graphic frame.

      This action is unecessary if a KX_ArmatureActuator with mode run is active
      or if an action is playing. Use this function in other cases. It must be called
      on each frame to ensure that the armature is updated continously.