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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2012-01-22 07:21:28 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-01-22 07:21:28 +0400
commit6964b5a6c48f2fab19b4ce5a52ba23525a5f05eb (patch)
tree0384f726655f145874d4bab056cb9740c1f44d65 /doc
parentf45a8105eedc93ba8c4284f85e7e29f3eaeeb510 (diff)
cucumber merge: world scaling + video texture constants
revisions: 38166,38167,38177,38179,38180,38187,38242 To be implemented after merge: 1) add pydocs(rst) for the video texture new defines 2) see if a NodeSetLocalMatrix would fit well #43439 by kupoman Changing the worldTransform and localTransform python attributes to use BLI_math to simplify the code #38242 by kupoman Adding the constants SOURCE_ERROR, SOURCE_EMPTY, SOURCE_READY, SOURCE_PLAYING, SOURCE_STOPPED to the video texture module. Updates to the documentation will follow after a merge with trunk #38187 by kupoman Updates to the documentation to reflect that worldScale is now writable, and added localTransform and worldTransform to KX_GameObject. #38180 by kupoman The Transform attribute of KX_GameObject was based on world space data. I converted that one to worldTransform, and added a localTransform for local space transform information. #38179 by kupoman Fixed the transform attribute of KX_GameObject's set method to properly deal with negative scaling. #38177 by kupoman Updated the transform property on KX_GameObject so that it is now read/write, and added the corresponding set method. Also simplified the get method by calling GetOpenGLMatrix instead of making the matrix myself. #38167 by kupoman Adding a read only transform attribute to KX_GameObject that returns a 4x4 matrix representing the object's transformations. #38166 by kupoman Adding a worldScale attribute to KX_GameObject. This attribute scales the object independently of its parent's scale.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge.types.rst14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst
index f97c95babc9..bb3ac004d51 100644
--- a/doc/python_api/rst/bge.types.rst
+++ b/doc/python_api/rst/bge.types.rst
@@ -980,7 +980,7 @@ Game Types (bge.types)
.. 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 @@ Game Types (bge.types)
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