.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_CylinderMesh: CylinderMesh ============ **Inherits:** :ref:`PrimitiveMesh` **<** :ref:`Mesh` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_bottom_radius` **(** **)** const | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_height` **(** **)** const | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_radial_segments` **(** **)** const | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_rings` **(** **)** const | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_top_radius` **(** **)** const | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_bottom_radius` **(** :ref:`float` radius **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_height` **(** :ref:`float` height **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_radial_segments` **(** :ref:`int` segments **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_rings` **(** :ref:`int` rings **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_top_radius` **(** :ref:`float` radius **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`float` **bottom_radius** - :ref:`float` **height** - :ref:`int` **radial_segments** - :ref:`int` **rings** - :ref:`float` **top_radius** Member Function Description --------------------------- .. _class_CylinderMesh_get_bottom_radius: - :ref:`float` **get_bottom_radius** **(** **)** const .. _class_CylinderMesh_get_height: - :ref:`float` **get_height** **(** **)** const .. _class_CylinderMesh_get_radial_segments: - :ref:`int` **get_radial_segments** **(** **)** const .. _class_CylinderMesh_get_rings: - :ref:`int` **get_rings** **(** **)** const .. _class_CylinderMesh_get_top_radius: - :ref:`float` **get_top_radius** **(** **)** const .. _class_CylinderMesh_set_bottom_radius: - void **set_bottom_radius** **(** :ref:`float` radius **)** .. _class_CylinderMesh_set_height: - void **set_height** **(** :ref:`float` height **)** .. _class_CylinderMesh_set_radial_segments: - void **set_radial_segments** **(** :ref:`int` segments **)** .. _class_CylinderMesh_set_rings: - void **set_rings** **(** :ref:`int` rings **)** .. _class_CylinderMesh_set_top_radius: - void **set_top_radius** **(** :ref:`float` radius **)**