Skip to content

Commit

Permalink
UPBGE: Fix python api documentation.
Browse files Browse the repository at this point in the history
KX_VertexProxy.colors was forgotten and KX_MeshProxy using a wrong typo.
  • Loading branch information
panzergame committed Oct 24, 2016
1 parent f766d35 commit 92fc14d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/python_api/rst/bge_types/bge.types.KX_MeshProxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ base class --- :class:`CValue`

Returns the list of polygons of this mesh.

:type: class:`KX_PolyProxy` list (read only)
:type: :class:`KX_PolyProxy` list (read only)

.. method:: getMaterialName(matid)

Expand Down
6 changes: 6 additions & 0 deletions doc/python_api/rst/bge_types/bge.types.KX_VertexProxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ base class --- :class:`SCA_IObject`

Black = [0.0, 0.0, 0.0, 1.0], White = [1.0, 1.0, 1.0, 1.0]

.. attribute:: colors

The color list of the vertex.

:type: list of Vector((r, g, b, a))

.. attribute:: x

The x coordinate of the vertex.
Expand Down

0 comments on commit 92fc14d

Please sign in to comment.