diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-22 12:01:02 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-22 12:01:02 +0400 |
commit | 5da6c02188718beff0a7f64cf10e8e7cdca29e4e (patch) | |
tree | efa573a392d4d7f0a81453093961a8a9da5898b3 /doc/python_api | |
parent | a660ebc16eba431c2befeb92985d2da05cfdae6c (diff) |
BGE Docs: Adding RM_* mode constants from KX_NavMeshObject.draw()
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/rst/bge.logic.rst | 18 | ||||
-rw-r--r-- | doc/python_api/rst/bge.types.rst | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/doc/python_api/rst/bge.logic.rst b/doc/python_api/rst/bge.logic.rst index 69c261d1a90..ef52f94b995 100644 --- a/doc/python_api/rst/bge.logic.rst +++ b/doc/python_api/rst/bge.logic.rst @@ -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 ------ diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst index 59a87ede7be..e0d42553e48 100644 --- a/doc/python_api/rst/bge.types.rst +++ b/doc/python_api/rst/bge.types.rst @@ -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 |