class_ribbontrailmesh.rst 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 RibbonTrailMesh.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_RibbonTrailMesh:
  6. RibbonTrailMesh
  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_RibbonTrailMesh_property_curve>` | |
  13. +------------------------------------------+--------------------------------------------------------------------------+---------+
  14. | :ref:`float<class_float>` | :ref:`section_length<class_RibbonTrailMesh_property_section_length>` | ``0.2`` |
  15. +------------------------------------------+--------------------------------------------------------------------------+---------+
  16. | :ref:`int<class_int>` | :ref:`section_segments<class_RibbonTrailMesh_property_section_segments>` | ``3`` |
  17. +------------------------------------------+--------------------------------------------------------------------------+---------+
  18. | :ref:`int<class_int>` | :ref:`sections<class_RibbonTrailMesh_property_sections>` | ``5`` |
  19. +------------------------------------------+--------------------------------------------------------------------------+---------+
  20. | :ref:`Shape<enum_RibbonTrailMesh_Shape>` | :ref:`shape<class_RibbonTrailMesh_property_shape>` | ``1`` |
  21. +------------------------------------------+--------------------------------------------------------------------------+---------+
  22. | :ref:`float<class_float>` | :ref:`size<class_RibbonTrailMesh_property_size>` | ``1.0`` |
  23. +------------------------------------------+--------------------------------------------------------------------------+---------+
  24. Enumerations
  25. ------------
  26. .. _enum_RibbonTrailMesh_Shape:
  27. .. _class_RibbonTrailMesh_constant_SHAPE_FLAT:
  28. .. _class_RibbonTrailMesh_constant_SHAPE_CROSS:
  29. enum **Shape**:
  30. - **SHAPE_FLAT** = **0**
  31. - **SHAPE_CROSS** = **1**
  32. Property Descriptions
  33. ---------------------
  34. .. _class_RibbonTrailMesh_property_curve:
  35. - :ref:`Curve<class_Curve>` **curve**
  36. +----------+------------------+
  37. | *Setter* | set_curve(value) |
  38. +----------+------------------+
  39. | *Getter* | get_curve() |
  40. +----------+------------------+
  41. ----
  42. .. _class_RibbonTrailMesh_property_section_length:
  43. - :ref:`float<class_float>` **section_length**
  44. +-----------+---------------------------+
  45. | *Default* | ``0.2`` |
  46. +-----------+---------------------------+
  47. | *Setter* | set_section_length(value) |
  48. +-----------+---------------------------+
  49. | *Getter* | get_section_length() |
  50. +-----------+---------------------------+
  51. ----
  52. .. _class_RibbonTrailMesh_property_section_segments:
  53. - :ref:`int<class_int>` **section_segments**
  54. +-----------+-----------------------------+
  55. | *Default* | ``3`` |
  56. +-----------+-----------------------------+
  57. | *Setter* | set_section_segments(value) |
  58. +-----------+-----------------------------+
  59. | *Getter* | get_section_segments() |
  60. +-----------+-----------------------------+
  61. ----
  62. .. _class_RibbonTrailMesh_property_sections:
  63. - :ref:`int<class_int>` **sections**
  64. +-----------+---------------------+
  65. | *Default* | ``5`` |
  66. +-----------+---------------------+
  67. | *Setter* | set_sections(value) |
  68. +-----------+---------------------+
  69. | *Getter* | get_sections() |
  70. +-----------+---------------------+
  71. ----
  72. .. _class_RibbonTrailMesh_property_shape:
  73. - :ref:`Shape<enum_RibbonTrailMesh_Shape>` **shape**
  74. +-----------+------------------+
  75. | *Default* | ``1`` |
  76. +-----------+------------------+
  77. | *Setter* | set_shape(value) |
  78. +-----------+------------------+
  79. | *Getter* | get_shape() |
  80. +-----------+------------------+
  81. ----
  82. .. _class_RibbonTrailMesh_property_size:
  83. - :ref:`float<class_float>` **size**
  84. +-----------+-----------------+
  85. | *Default* | ``1.0`` |
  86. +-----------+-----------------+
  87. | *Setter* | set_size(value) |
  88. +-----------+-----------------+
  89. | *Getter* | get_size() |
  90. +-----------+-----------------+
  91. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  92. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  93. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  94. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  95. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  96. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`