diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-10 14:26:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-10 14:26:39 +0400 |
commit | 250109f5ace8471451a6d8bda8f67ffc955eb4b7 (patch) | |
tree | 6228de4b3b9dd229e2b129549e69e6edf06c84be /doc/python_api/rst | |
parent | fecc3b9d68102630fc53f451a3f405f180b31384 (diff) |
add argument so recent bge function mesh.transform_uv() so you can optionally transform between UV1 / UV2
Diffstat (limited to 'doc/python_api/rst')
-rw-r--r-- | doc/python_api/rst/bge.types.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index 5093cfe0ace..7ce913a54f3 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -1966,7 +1966,7 @@ Types :arg matrix: transformation matrix. :type matrix: 4x4 matrix [[float]] - .. method:: transform_uv(matid, matrix, uv_index=-1) + .. method:: transform_uv(matid, matrix, uv_index=-1, uv_index_from=-1) Transforms the vertices UV's of a mesh. @@ -1974,8 +1974,10 @@ Types :type matid: integer :arg matrix: transformation matrix. :type matrix: 4x4 matrix [[float]] - :arg matid: optional uv index, -1 for all, otherwise 0 or 1. - :type matid: integer + :arg uv_index: optional uv index, -1 for all, otherwise 0 or 1. + :type uv_index: integer + :arg uv_index_from: optional uv index to copy from, -1 to transform the current uv. + :type uv_index_from: integer .. class:: SCA_MouseSensor(SCA_ISensor) |