class_tubetrailmesh.rst 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the TubeTrailMesh.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_TubeTrailMesh:
  6. TubeTrailMesh
  7. =============
  8. **Inherits:** :ref:`PrimitiveMesh<class_PrimitiveMesh>` **<** :ref:`Mesh<class_Mesh>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +---------------------------+--------------------------------------------------------------------+---------+
  12. | :ref:`Curve<class_Curve>` | :ref:`curve<class_TubeTrailMesh_property_curve>` | |
  13. +---------------------------+--------------------------------------------------------------------+---------+
  14. | :ref:`int<class_int>` | :ref:`radial_steps<class_TubeTrailMesh_property_radial_steps>` | ``8`` |
  15. +---------------------------+--------------------------------------------------------------------+---------+
  16. | :ref:`float<class_float>` | :ref:`radius<class_TubeTrailMesh_property_radius>` | ``1.0`` |
  17. +---------------------------+--------------------------------------------------------------------+---------+
  18. | :ref:`float<class_float>` | :ref:`section_length<class_TubeTrailMesh_property_section_length>` | ``0.2`` |
  19. +---------------------------+--------------------------------------------------------------------+---------+
  20. | :ref:`int<class_int>` | :ref:`section_rings<class_TubeTrailMesh_property_section_rings>` | ``3`` |
  21. +---------------------------+--------------------------------------------------------------------+---------+
  22. | :ref:`int<class_int>` | :ref:`sections<class_TubeTrailMesh_property_sections>` | ``5`` |
  23. +---------------------------+--------------------------------------------------------------------+---------+
  24. Property Descriptions
  25. ---------------------
  26. .. _class_TubeTrailMesh_property_curve:
  27. - :ref:`Curve<class_Curve>` **curve**
  28. +----------+------------------+
  29. | *Setter* | set_curve(value) |
  30. +----------+------------------+
  31. | *Getter* | get_curve() |
  32. +----------+------------------+
  33. ----
  34. .. _class_TubeTrailMesh_property_radial_steps:
  35. - :ref:`int<class_int>` **radial_steps**
  36. +-----------+-------------------------+
  37. | *Default* | ``8`` |
  38. +-----------+-------------------------+
  39. | *Setter* | set_radial_steps(value) |
  40. +-----------+-------------------------+
  41. | *Getter* | get_radial_steps() |
  42. +-----------+-------------------------+
  43. ----
  44. .. _class_TubeTrailMesh_property_radius:
  45. - :ref:`float<class_float>` **radius**
  46. +-----------+-------------------+
  47. | *Default* | ``1.0`` |
  48. +-----------+-------------------+
  49. | *Setter* | set_radius(value) |
  50. +-----------+-------------------+
  51. | *Getter* | get_radius() |
  52. +-----------+-------------------+
  53. ----
  54. .. _class_TubeTrailMesh_property_section_length:
  55. - :ref:`float<class_float>` **section_length**
  56. +-----------+---------------------------+
  57. | *Default* | ``0.2`` |
  58. +-----------+---------------------------+
  59. | *Setter* | set_section_length(value) |
  60. +-----------+---------------------------+
  61. | *Getter* | get_section_length() |
  62. +-----------+---------------------------+
  63. ----
  64. .. _class_TubeTrailMesh_property_section_rings:
  65. - :ref:`int<class_int>` **section_rings**
  66. +-----------+--------------------------+
  67. | *Default* | ``3`` |
  68. +-----------+--------------------------+
  69. | *Setter* | set_section_rings(value) |
  70. +-----------+--------------------------+
  71. | *Getter* | get_section_rings() |
  72. +-----------+--------------------------+
  73. ----
  74. .. _class_TubeTrailMesh_property_sections:
  75. - :ref:`int<class_int>` **sections**
  76. +-----------+---------------------+
  77. | *Default* | ``5`` |
  78. +-----------+---------------------+
  79. | *Setter* | set_sections(value) |
  80. +-----------+---------------------+
  81. | *Getter* | get_sections() |
  82. +-----------+---------------------+
  83. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  84. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  85. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  86. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  87. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  88. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`