classref: Add property overview and setter/getter like in editor docs

Output from godotengine/godot#22013.
Fixes #1729.
This commit is contained in:
Rémi Verschelde
2018-09-13 11:06:52 +02:00
parent f9caa4be29
commit ab3f908221
578 changed files with 33831 additions and 6706 deletions

View File

@@ -8,6 +8,7 @@ Performance
===========
**Inherits:** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
@@ -27,7 +28,7 @@ Enumerations
.. _enum_Performance_Monitor:
enum **Monitor**
enum **Monitor**:
- **TIME_FPS** = **0** --- Frames per second.
- **TIME_PROCESS** = **1** --- Time it took to complete one frame.
@@ -59,7 +60,6 @@ enum **Monitor**
- **AUDIO_OUTPUT_LATENCY** = **27**
- **MONITOR_MAX** = **28**
Description
-----------
@@ -70,7 +70,7 @@ Many of these monitors are not updated in real-time, so there may be a short del
Method Descriptions
-------------------
.. _class_Performance_get_monitor:
.. _class_Performance_get_monitor:
- :ref:`float<class_float>` **get_monitor** **(** :ref:`Monitor<enum_Performance_Monitor>` monitor **)** const
@@ -80,4 +80,3 @@ Returns the value of one of the available monitors. You should provide one of th
print(Performance.get_monitor(Performance.TIME_FPS)) # Prints the FPS to the console