[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38187] branches/soc-2011-cucumber/doc/ python_api/rst/bge.types.rst: Updates to the documentation to reflect that worldScale is now writable, and added localTransform and worldTransform to KX_GameObject.
Daniel Stokes
kupomail at gmail.com
Thu Jul 7 12:54:12 CEST 2011
Revision: 38187
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38187
Author: kupoman
Date: 2011-07-07 10:54:11 +0000 (Thu, 07 Jul 2011)
Log Message:
-----------
Updates to the documentation to reflect that worldScale is now writable, and added localTransform and worldTransform to KX_GameObject.
Modified Paths:
--------------
branches/soc-2011-cucumber/doc/python_api/rst/bge.types.rst
Modified: branches/soc-2011-cucumber/doc/python_api/rst/bge.types.rst
===================================================================
--- branches/soc-2011-cucumber/doc/python_api/rst/bge.types.rst 2011-07-07 10:41:41 UTC (rev 38186)
+++ branches/soc-2011-cucumber/doc/python_api/rst/bge.types.rst 2011-07-07 10:54:11 UTC (rev 38187)
@@ -980,7 +980,7 @@
.. attribute:: worldScale
- The object's world scaling factor. Read-only. [sx, sy, sz]
+ The object's world scaling factor. [sx, sy, sz]
:type: :class:`mathutils.Vector`
@@ -995,6 +995,18 @@
The object's world position. [x, y, z]
:type: :class:`mathutils.Vector`
+
+ .. attribute:: localTransform
+
+ The object's local space transform matrix. 4x4 Matrix.
+
+ :type: :class:`mathutils.Matrix`
+
+ .. attribute:: worldTransform
+
+ The object's world space transform matrix. 4x4 Matrix.
+
+ :type: :class:`mathutils.Matrix`
.. attribute:: localLinearVelocity
More information about the Bf-blender-cvs
mailing list