From 250109f5ace8471451a6d8bda8f67ffc955eb4b7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 10 Nov 2012 10:26:39 +0000 Subject: add argument so recent bge function mesh.transform_uv() so you can optionally transform between UV1 / UV2 --- doc/python_api/rst/bge.types.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/python_api') 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) -- cgit v1.2.3