diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-15 03:31:49 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-15 03:31:49 +0400 |
commit | 9afae77fedb8a84f4d305ebce81b0cc509a2183b (patch) | |
tree | c8e747520371df4e3dd00a142419727ef6db60d9 /doc/python_api/rst/bge_types | |
parent | c8f75fb5b1918a13a722ed39bb8cace1ee5b58b8 (diff) |
BGE: Finally adding support for additive layer blending.
Currently this is only for the Python API. The logic brick will be updated in a future commit.
Diffstat (limited to 'doc/python_api/rst/bge_types')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst b/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst index a9c91735f91..3be148556ef 100644 --- a/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst +++ b/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst @@ -776,7 +776,7 @@ base class --- :class:`SCA_IObject` Return the value matching key, or the default value if its not found. :return: The key value or a default. - .. method:: playAction(name, start_frame, end_frame, layer=0, priority=0, blendin=0, play_mode=ACT_MODE_PLAY, layer_weight=0.0, ipo_flags=0, speed=1.0) + .. method:: playAction(name, start_frame, end_frame, layer=0, priority=0, blendin=0, play_mode=KX_ACTION_MODE_PLAY, layer_weight=0.0, ipo_flags=0, speed=1.0, blend_mode=KX_ACTION_BLEND_BLEND) Plays an action. @@ -794,12 +794,14 @@ base class --- :class:`SCA_IObject` :type blendin: float :arg play_mode: the play mode :type play_mode: one of :ref:`these constants <gameobject-playaction-mode>` - :arg layer_weight: how much of the previous layer to use for blending (0 = add) + :arg layer_weight: how much of the previous layer to use for blending :type layer_weight: float :arg ipo_flags: flags for the old IPO behaviors (force, etc) :type ipo_flags: int bitfield :arg speed: the playback speed of the action as a factor (1.0 = normal speed, 2.0 = 2x speed, etc) :type speed: float + :arg blend_mode: how to blend this layer with previous layers + :type blend_mode: one of :ref:`these constants <gameobject-playaction-blend>` .. method:: stopAction(layer=0) |