classref: Use code markup for default values/overrides

Sync with godotengine/godot#35357.
Fixes #3071.
This commit is contained in:
Rémi Verschelde
2020-01-20 12:41:39 +01:00
parent 0ac1767a3f
commit 782dd64a19
410 changed files with 9572 additions and 9572 deletions
+22 -22
View File
@@ -21,17 +21,17 @@ Class representing a prism-shaped :ref:`PrimitiveMesh<class_PrimitiveMesh>`.
Properties
----------
+-------------------------------+--------------------------------------------------------------------+--------------------+
| :ref:`float<class_float>` | :ref:`left_to_right<class_PrismMesh_property_left_to_right>` | 0.5 |
+-------------------------------+--------------------------------------------------------------------+--------------------+
| :ref:`Vector3<class_Vector3>` | :ref:`size<class_PrismMesh_property_size>` | Vector3( 2, 2, 2 ) |
+-------------------------------+--------------------------------------------------------------------+--------------------+
| :ref:`int<class_int>` | :ref:`subdivide_depth<class_PrismMesh_property_subdivide_depth>` | 0 |
+-------------------------------+--------------------------------------------------------------------+--------------------+
| :ref:`int<class_int>` | :ref:`subdivide_height<class_PrismMesh_property_subdivide_height>` | 0 |
+-------------------------------+--------------------------------------------------------------------+--------------------+
| :ref:`int<class_int>` | :ref:`subdivide_width<class_PrismMesh_property_subdivide_width>` | 0 |
+-------------------------------+--------------------------------------------------------------------+--------------------+
+-------------------------------+--------------------------------------------------------------------+------------------------+
| :ref:`float<class_float>` | :ref:`left_to_right<class_PrismMesh_property_left_to_right>` | ``0.5`` |
+-------------------------------+--------------------------------------------------------------------+------------------------+
| :ref:`Vector3<class_Vector3>` | :ref:`size<class_PrismMesh_property_size>` | ``Vector3( 2, 2, 2 )`` |
+-------------------------------+--------------------------------------------------------------------+------------------------+
| :ref:`int<class_int>` | :ref:`subdivide_depth<class_PrismMesh_property_subdivide_depth>` | ``0`` |
+-------------------------------+--------------------------------------------------------------------+------------------------+
| :ref:`int<class_int>` | :ref:`subdivide_height<class_PrismMesh_property_subdivide_height>` | ``0`` |
+-------------------------------+--------------------------------------------------------------------+------------------------+
| :ref:`int<class_int>` | :ref:`subdivide_width<class_PrismMesh_property_subdivide_width>` | ``0`` |
+-------------------------------+--------------------------------------------------------------------+------------------------+
Property Descriptions
---------------------
@@ -41,7 +41,7 @@ Property Descriptions
- :ref:`float<class_float>` **left_to_right**
+-----------+--------------------------+
| *Default* | 0.5 |
| *Default* | ``0.5`` |
+-----------+--------------------------+
| *Setter* | set_left_to_right(value) |
+-----------+--------------------------+
@@ -56,13 +56,13 @@ Displacement of the upper edge along the X axis. 0.0 positions edge straight abo
- :ref:`Vector3<class_Vector3>` **size**
+-----------+--------------------+
| *Default* | Vector3( 2, 2, 2 ) |
+-----------+--------------------+
| *Setter* | set_size(value) |
+-----------+--------------------+
| *Getter* | get_size() |
+-----------+--------------------+
+-----------+------------------------+
| *Default* | ``Vector3( 2, 2, 2 )`` |
+-----------+------------------------+
| *Setter* | set_size(value) |
+-----------+------------------------+
| *Getter* | get_size() |
+-----------+------------------------+
Size of the prism.
@@ -73,7 +73,7 @@ Size of the prism.
- :ref:`int<class_int>` **subdivide_depth**
+-----------+----------------------------+
| *Default* | 0 |
| *Default* | ``0`` |
+-----------+----------------------------+
| *Setter* | set_subdivide_depth(value) |
+-----------+----------------------------+
@@ -89,7 +89,7 @@ Number of added edge loops along the Z axis.
- :ref:`int<class_int>` **subdivide_height**
+-----------+-----------------------------+
| *Default* | 0 |
| *Default* | ``0`` |
+-----------+-----------------------------+
| *Setter* | set_subdivide_height(value) |
+-----------+-----------------------------+
@@ -105,7 +105,7 @@ Number of added edge loops along the Y axis.
- :ref:`int<class_int>` **subdivide_width**
+-----------+----------------------------+
| *Default* | 0 |
| *Default* | ``0`` |
+-----------+----------------------------+
| *Setter* | set_subdivide_width(value) |
+-----------+----------------------------+