mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
classref: Use code markup for default values/overrides
Sync with godotengine/godot#35357. Fixes #3071.
This commit is contained in:
+22
-22
@@ -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) |
|
||||
+-----------+----------------------------+
|
||||
|
||||
Reference in New Issue
Block a user