:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the RibbonTrailMesh.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_RibbonTrailMesh: RibbonTrailMesh =============== **Inherits:** :ref:`PrimitiveMesh` **<** :ref:`Mesh` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` Properties ---------- +------------------------------------------+--------------------------------------------------------------------------+---------+ | :ref:`Curve` | :ref:`curve` | | +------------------------------------------+--------------------------------------------------------------------------+---------+ | :ref:`float` | :ref:`section_length` | ``0.2`` | +------------------------------------------+--------------------------------------------------------------------------+---------+ | :ref:`int` | :ref:`section_segments` | ``3`` | +------------------------------------------+--------------------------------------------------------------------------+---------+ | :ref:`int` | :ref:`sections` | ``5`` | +------------------------------------------+--------------------------------------------------------------------------+---------+ | :ref:`Shape` | :ref:`shape` | ``1`` | +------------------------------------------+--------------------------------------------------------------------------+---------+ | :ref:`float` | :ref:`size` | ``1.0`` | +------------------------------------------+--------------------------------------------------------------------------+---------+ Enumerations ------------ .. _enum_RibbonTrailMesh_Shape: .. _class_RibbonTrailMesh_constant_SHAPE_FLAT: .. _class_RibbonTrailMesh_constant_SHAPE_CROSS: enum **Shape**: - **SHAPE_FLAT** = **0** - **SHAPE_CROSS** = **1** Property Descriptions --------------------- .. _class_RibbonTrailMesh_property_curve: - :ref:`Curve` **curve** +----------+------------------+ | *Setter* | set_curve(value) | +----------+------------------+ | *Getter* | get_curve() | +----------+------------------+ ---- .. _class_RibbonTrailMesh_property_section_length: - :ref:`float` **section_length** +-----------+---------------------------+ | *Default* | ``0.2`` | +-----------+---------------------------+ | *Setter* | set_section_length(value) | +-----------+---------------------------+ | *Getter* | get_section_length() | +-----------+---------------------------+ ---- .. _class_RibbonTrailMesh_property_section_segments: - :ref:`int` **section_segments** +-----------+-----------------------------+ | *Default* | ``3`` | +-----------+-----------------------------+ | *Setter* | set_section_segments(value) | +-----------+-----------------------------+ | *Getter* | get_section_segments() | +-----------+-----------------------------+ ---- .. _class_RibbonTrailMesh_property_sections: - :ref:`int` **sections** +-----------+---------------------+ | *Default* | ``5`` | +-----------+---------------------+ | *Setter* | set_sections(value) | +-----------+---------------------+ | *Getter* | get_sections() | +-----------+---------------------+ ---- .. _class_RibbonTrailMesh_property_shape: - :ref:`Shape` **shape** +-----------+------------------+ | *Default* | ``1`` | +-----------+------------------+ | *Setter* | set_shape(value) | +-----------+------------------+ | *Getter* | get_shape() | +-----------+------------------+ ---- .. _class_RibbonTrailMesh_property_size: - :ref:`float` **size** +-----------+-----------------+ | *Default* | ``1.0`` | +-----------+-----------------+ | *Setter* | set_size(value) | +-----------+-----------------+ | *Getter* | get_size() | +-----------+-----------------+ .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`