BGE Docs: Adding RM_* mode constants from KX_NavMeshObject.draw()

This commit is contained in:
Mitchell Stokes
2012-11-22 08:01:02 +00:00
parent a660ebc16e
commit 5da6c02188
2 changed files with 19 additions and 1 deletions

View File

@@ -791,6 +791,24 @@ See :class:`bge.types.SCA_MouseSensor`
.. data:: KX_MOUSE_BUT_MIDDLE
.. data:: KX_MOUSE_BUT_RIGHT
------------
Navigation Mesh Draw Modes
------------
.. _navmesh-draw-mode:
.. data:: RM_WALLS
Draw only the walls.
.. data:: RM_POLYS
Draw only polygons.
.. data:: RM_TRIS
Draw triangle mesh.
------
States
------

View File

@@ -2245,7 +2245,7 @@ Types
Draws a debug mesh for the navigation mesh.
:arg mode: the drawing mode (WALLS=0, POLYS=1, TRIS=2)
:arg mode: the drawing mode (one of :ref:`these constants <navmesh-draw-mode>`)
:arg mode: integer
:return: None