X-Git-Url: https://git.blender.org/gitweb/gitweb.cgi/blender.git/blobdiff_plain/f5c9f2c2530d21474f8e2ee5ea7dfdb483b7ba7d..fecc3b9d68102630fc53f451a3f405f180b31384:/doc/python_api/rst/bge.types.rst diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index 431b264ba73..5093cfe0ace 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -1957,6 +1957,26 @@ Types :return: a polygon object. :rtype: :class:`PolyProxy` + .. method:: transform(matid, matrix) + + Transforms the vertices of a mesh. + + :arg matid: material index, -1 transforms all. + :type matid: integer + :arg matrix: transformation matrix. + :type matrix: 4x4 matrix [[float]] + + .. method:: transform_uv(matid, matrix, uv_index=-1) + + Transforms the vertices UV's of a mesh. + + :arg matid: material index, -1 transforms all. + :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 + .. class:: SCA_MouseSensor(SCA_ISensor) Mouse Sensor logic brick.