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

bge.types.BL_ActionActuator.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c761a0d4e4462be3d1323a4a8629bfbdaaa5650c (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
BL_ActionActuator(SCA_IActuator)
================================

base class --- :class:`SCA_IActuator`

.. class:: BL_ActionActuator(SCA_IActuator)

   Action Actuators apply an action to an actor.

   .. attribute:: action

      The name of the action to set as the current action.

      :type: string

   .. attribute:: frameStart

      Specifies the starting frame of the animation.

      :type: float

   .. attribute:: frameEnd

      Specifies the ending frame of the animation.

      :type: float

   .. attribute:: blendIn

      Specifies the number of frames of animation to generate when making transitions between actions.

      :type: float

   .. attribute:: priority

      Sets the priority of this actuator. Actuators will lower priority numbers will override actuators with higher numbers.

      :type: integer

   .. attribute:: frame

      Sets the current frame for the animation.

      :type: float

   .. attribute:: propName

      Sets the property to be used in FromProp playback mode.

      :type: string

   .. attribute:: blendTime

      Sets the internal frame timer. This property must be in the range from 0.0 to blendIn.

      :type: float

   .. attribute:: mode

      The operation mode of the actuator. Can be one of :ref:`these constants<action-actuator>`.

      :type: integer

   .. attribute:: useContinue

      The actions continue option, True or False. When True, the action will always play from where last left off,
      otherwise negative events to this actuator will reset it to its start frame.

      :type: boolean

   .. attribute:: framePropName

      The name of the property that is set to the current frame number.

      :type: string