diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2015-06-06 23:11:22 +0300 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2015-06-06 23:12:27 +0300 |
commit | 5aade17bdf0f9d230c2e0bb7a97ead21a48895af (patch) | |
tree | 69b18d2c1562b84e347ebce8433a3d7647492391 /doc/python_api/rst | |
parent | c5748f3cc7551c0ded385a782312bd8171818839 (diff) |
Revert "BGE : KX_VertexProxy support for more than 2 UV channel."
This reverts commit fb0dd596e9a58f095730359a11759c40ea46be44.
This commit reintroduced a deprecated API that we'd rather not see in a
release. A better solution is being worked on.
Diffstat (limited to 'doc/python_api/rst')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_VertexProxy.rst | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_VertexProxy.rst b/doc/python_api/rst/bge_types/bge.types.KX_VertexProxy.rst index d1bd6758cbc..73d692770d6 100644 --- a/doc/python_api/rst/bge_types/bge.types.KX_VertexProxy.rst +++ b/doc/python_api/rst/bge_types/bge.types.KX_VertexProxy.rst @@ -25,12 +25,6 @@ base class --- :class:`SCA_IObject` :type: Vector((u, v)) - .. attribute:: uvs - - A list of all the texture coordinates of the vertex. - - :type: list of Vector((u, v)) - .. attribute:: normal The normal of the vertex. @@ -126,24 +120,18 @@ base class --- :class:`SCA_IObject` :arg pos: the new position for this vertex in local coordinates. - .. method:: getUV(index=0) + .. method:: getUV() Gets the UV (texture) coordinates of this vertex. - :arg index: the UV (texture) channel (optional). - :type index: integer - :return: this vertexes UV (texture) coordinates. :rtype: Vector((u, v)) - .. method:: setUV(uv, index=0) + .. method:: setUV(uv) Sets the UV (texture) coordinates of this vertex. - :arg uv: the UV (texture) coordinate of this vertex. - :type uv: Vector((u, v)) - :arg index: the UV (texture) channel (optional). - :type index: integer + :type: Vector((u, v)) .. method:: getUV2() @@ -152,16 +140,14 @@ base class --- :class:`SCA_IObject` :return: this vertexes UV (texture) coordinates. :rtype: Vector((u, v)) - .. deprecated:: use :meth:`getUV` - - .. method:: setUV2(uv) + .. method:: setUV2(uv, unit) Sets the 2nd UV (texture) coordinates of this vertex. - :arg uv: the 2nd (texture) UV coordinate of this vertex. - :type uv: Vector((u, v)) + :type: Vector((u, v)) - .. deprecated:: use :meth:`setUV` + :arg unit: optional argument, FLAT==1, SECOND_UV==2, defaults to SECOND_UV + :arg unit: integer .. method:: getRGBA() |