class_tubetrailmesh.rst 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.0/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.0/doc/classes/TubeTrailMesh.xml.
  6. .. _class_TubeTrailMesh:
  7. TubeTrailMesh
  8. =============
  9. **Inherits:** :ref:`PrimitiveMesh<class_PrimitiveMesh>` **<** :ref:`Mesh<class_Mesh>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. .. container:: contribute
  11. There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  12. .. rst-class:: classref-reftable-group
  13. Properties
  14. ----------
  15. .. table::
  16. :widths: auto
  17. +---------------------------+--------------------------------------------------------------------+----------+
  18. | :ref:`bool<class_bool>` | :ref:`cap_bottom<class_TubeTrailMesh_property_cap_bottom>` | ``true`` |
  19. +---------------------------+--------------------------------------------------------------------+----------+
  20. | :ref:`bool<class_bool>` | :ref:`cap_top<class_TubeTrailMesh_property_cap_top>` | ``true`` |
  21. +---------------------------+--------------------------------------------------------------------+----------+
  22. | :ref:`Curve<class_Curve>` | :ref:`curve<class_TubeTrailMesh_property_curve>` | |
  23. +---------------------------+--------------------------------------------------------------------+----------+
  24. | :ref:`int<class_int>` | :ref:`radial_steps<class_TubeTrailMesh_property_radial_steps>` | ``8`` |
  25. +---------------------------+--------------------------------------------------------------------+----------+
  26. | :ref:`float<class_float>` | :ref:`radius<class_TubeTrailMesh_property_radius>` | ``0.5`` |
  27. +---------------------------+--------------------------------------------------------------------+----------+
  28. | :ref:`float<class_float>` | :ref:`section_length<class_TubeTrailMesh_property_section_length>` | ``0.2`` |
  29. +---------------------------+--------------------------------------------------------------------+----------+
  30. | :ref:`int<class_int>` | :ref:`section_rings<class_TubeTrailMesh_property_section_rings>` | ``3`` |
  31. +---------------------------+--------------------------------------------------------------------+----------+
  32. | :ref:`int<class_int>` | :ref:`sections<class_TubeTrailMesh_property_sections>` | ``5`` |
  33. +---------------------------+--------------------------------------------------------------------+----------+
  34. .. rst-class:: classref-section-separator
  35. ----
  36. .. rst-class:: classref-descriptions-group
  37. Property Descriptions
  38. ---------------------
  39. .. _class_TubeTrailMesh_property_cap_bottom:
  40. .. rst-class:: classref-property
  41. :ref:`bool<class_bool>` **cap_bottom** = ``true``
  42. .. rst-class:: classref-property-setget
  43. - void **set_cap_bottom** **(** :ref:`bool<class_bool>` value **)**
  44. - :ref:`bool<class_bool>` **is_cap_bottom** **(** **)**
  45. If ``true``, generates a cap at the bottom of the tube. This can be set to ``false`` to speed up generation and rendering when the cap is never seen by the camera.
  46. .. rst-class:: classref-item-separator
  47. ----
  48. .. _class_TubeTrailMesh_property_cap_top:
  49. .. rst-class:: classref-property
  50. :ref:`bool<class_bool>` **cap_top** = ``true``
  51. .. rst-class:: classref-property-setget
  52. - void **set_cap_top** **(** :ref:`bool<class_bool>` value **)**
  53. - :ref:`bool<class_bool>` **is_cap_top** **(** **)**
  54. If ``true``, generates a cap at the top of the tube. This can be set to ``false`` to speed up generation and rendering when the cap is never seen by the camera.
  55. .. rst-class:: classref-item-separator
  56. ----
  57. .. _class_TubeTrailMesh_property_curve:
  58. .. rst-class:: classref-property
  59. :ref:`Curve<class_Curve>` **curve**
  60. .. rst-class:: classref-property-setget
  61. - void **set_curve** **(** :ref:`Curve<class_Curve>` value **)**
  62. - :ref:`Curve<class_Curve>` **get_curve** **(** **)**
  63. .. container:: contribute
  64. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  65. .. rst-class:: classref-item-separator
  66. ----
  67. .. _class_TubeTrailMesh_property_radial_steps:
  68. .. rst-class:: classref-property
  69. :ref:`int<class_int>` **radial_steps** = ``8``
  70. .. rst-class:: classref-property-setget
  71. - void **set_radial_steps** **(** :ref:`int<class_int>` value **)**
  72. - :ref:`int<class_int>` **get_radial_steps** **(** **)**
  73. .. container:: contribute
  74. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  75. .. rst-class:: classref-item-separator
  76. ----
  77. .. _class_TubeTrailMesh_property_radius:
  78. .. rst-class:: classref-property
  79. :ref:`float<class_float>` **radius** = ``0.5``
  80. .. rst-class:: classref-property-setget
  81. - void **set_radius** **(** :ref:`float<class_float>` value **)**
  82. - :ref:`float<class_float>` **get_radius** **(** **)**
  83. .. container:: contribute
  84. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  85. .. rst-class:: classref-item-separator
  86. ----
  87. .. _class_TubeTrailMesh_property_section_length:
  88. .. rst-class:: classref-property
  89. :ref:`float<class_float>` **section_length** = ``0.2``
  90. .. rst-class:: classref-property-setget
  91. - void **set_section_length** **(** :ref:`float<class_float>` value **)**
  92. - :ref:`float<class_float>` **get_section_length** **(** **)**
  93. .. container:: contribute
  94. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  95. .. rst-class:: classref-item-separator
  96. ----
  97. .. _class_TubeTrailMesh_property_section_rings:
  98. .. rst-class:: classref-property
  99. :ref:`int<class_int>` **section_rings** = ``3``
  100. .. rst-class:: classref-property-setget
  101. - void **set_section_rings** **(** :ref:`int<class_int>` value **)**
  102. - :ref:`int<class_int>` **get_section_rings** **(** **)**
  103. .. container:: contribute
  104. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  105. .. rst-class:: classref-item-separator
  106. ----
  107. .. _class_TubeTrailMesh_property_sections:
  108. .. rst-class:: classref-property
  109. :ref:`int<class_int>` **sections** = ``5``
  110. .. rst-class:: classref-property-setget
  111. - void **set_sections** **(** :ref:`int<class_int>` value **)**
  112. - :ref:`int<class_int>` **get_sections** **(** **)**
  113. .. container:: contribute
  114. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  115. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  116. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  117. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  118. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  119. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  120. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`