mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Add property overview and setter/getter like in editor docs
Output from godotengine/godot#22013. Fixes #1729.
This commit is contained in:
@@ -8,6 +8,7 @@ NavigationMeshInstance
|
||||
======================
|
||||
|
||||
**Inherits:** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
@@ -15,6 +16,15 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------------------------+------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`enabled<class_NavigationMeshInstance_enabled>` |
|
||||
+---------------------------------------------+------------------------------------------------------+
|
||||
| :ref:`NavigationMesh<class_NavigationMesh>` | :ref:`navmesh<class_NavigationMeshInstance_navmesh>` |
|
||||
+---------------------------------------------+------------------------------------------------------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -22,8 +32,19 @@ Property Descriptions
|
||||
|
||||
- :ref:`bool<class_bool>` **enabled**
|
||||
|
||||
+----------+--------------------+
|
||||
| *Setter* | set_enabled(value) |
|
||||
+----------+--------------------+
|
||||
| *Getter* | is_enabled() |
|
||||
+----------+--------------------+
|
||||
|
||||
.. _class_NavigationMeshInstance_navmesh:
|
||||
|
||||
- :ref:`NavigationMesh<class_NavigationMesh>` **navmesh**
|
||||
|
||||
+----------+----------------------------+
|
||||
| *Setter* | set_navigation_mesh(value) |
|
||||
+----------+----------------------------+
|
||||
| *Getter* | get_navigation_mesh() |
|
||||
+----------+----------------------------+
|
||||
|
||||
|
||||
Reference in New Issue
Block a user