diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-22 12:16:30 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-22 12:16:30 +0400 |
commit | d9f6edff149f9b6d534462efb4aa908d5f63876a (patch) | |
tree | 438e38cfad099d6ad6793d335a8c0d6c88e10899 /doc | |
parent | 8dd96bcefb710e567f3efbac7d5718a3193374a1 (diff) |
BGE Docs: Moving the BL_ArmatureChannel.rotation_mode constant docs from bge.types.rst to bge.logic.rst where the rest of the constants docs are.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge.logic.rst | 53 | ||||
-rw-r--r-- | doc/python_api/rst/bge.types.rst | 22 |
2 files changed, 54 insertions, 21 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst index 8cf2561be58..b076570ab7d 100644 --- a/doc/python_api/rst/bge.logic.rst +++ b/doc/python_api/rst/bge.logic.rst @@ -993,6 +993,59 @@ Blender Material .. data:: BL_ZERO ---------------- +Armature Channel +---------------- +.. _armaturechannel-constants-rotation-mode: + + See :class:`bge.types.BL_ArmatureChannel.rotation_mode` + + .. note: + euler mode are named as in Blender UI but the actual axis order is reversed + + .. data:: ROT_QUAT + + Use quaternion in rotation attribute to update bone rotation. + + :value: 0 + + .. data:: ROT_XYZ + + Use euler_rotation and apply angles on bone's Z, Y, X axis successively. + + :value: 1 + + .. data:: ROT_XZY + + Use euler_rotation and apply angles on bone's Y, Z, X axis successively. + + :value: 2 + + .. data:: ROT_YXZ + + Use euler_rotation and apply angles on bone's Z, X, Y axis successively. + + :value: 3 + + .. data:: ROT_YZX + + Use euler_rotation and apply angles on bone's X, Z, Y axis successively. + + :value: 4 + + .. data:: ROT_ZXY + + Use euler_rotation and apply angles on bone's Y, X, Z axis successively. + + :value: 5 + + .. data:: ROT_ZYX + + Use euler_rotation and apply angles on bone's X, Y, Z axis successively. + + :value: 6 + + +---------------- Armature Constraint ---------------- .. _armatureconstraint-constants-type: diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index ebdac41ca98..c24d51a9e4f 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -4812,16 +4812,6 @@ Types Proxy to armature pose channel. Allows to read and set armature pose. The attributes are identical to RNA attributes, but mostly in read-only mode. - See :data:`rotation_mode` - - .. data:: PCHAN_ROT_QUAT - .. data:: PCHAN_ROT_XYZ - .. data:: PCHAN_ROT_XZY - .. data:: PCHAN_ROT_YXZ - .. data:: PCHAN_ROT_YZX - .. data:: PCHAN_ROT_ZXY - .. data:: PCHAN_ROT_ZYX - .. attribute:: name channel name (=bone name), read-only. @@ -4955,17 +4945,7 @@ Types Method of updating the bone rotation, read-write. - :type: integer - - Use the following constants (euler mode are named as in Blender UI but the actual axis order is reversed). - - * PCHAN_ROT_QUAT(0) : use quaternioin in rotation attribute to update bone rotation - * PCHAN_ROT_XYZ(1) : use euler_rotation and apply angles on bone's Z, Y, X axis successively - * PCHAN_ROT_XZY(2) : use euler_rotation and apply angles on bone's Y, Z, X axis successively - * PCHAN_ROT_YXZ(3) : use euler_rotation and apply angles on bone's Z, X, Y axis successively - * PCHAN_ROT_YZX(4) : use euler_rotation and apply angles on bone's X, Z, Y axis successively - * PCHAN_ROT_ZXY(5) : use euler_rotation and apply angles on bone's Y, X, Z axis successively - * PCHAN_ROT_ZYX(6) : use euler_rotation and apply angles on bone's X, Y, Z axis successively + :type: integer (one of :ref:`these constants <armaturechannel-constants-rotation-mode>`) .. attribute:: channel_matrix |