.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the CapsuleMesh.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_CapsuleMesh: CapsuleMesh =========== **Inherits:** :ref:`PrimitiveMesh` **<** :ref:`Mesh` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Class representing a capsule-shaped :ref:`PrimitiveMesh`. Member Variables ---------------- .. _class_CapsuleMesh_mid_height: - :ref:`float` **mid_height** - Height of the capsule mesh from the center point. Defaults to 1.0. .. _class_CapsuleMesh_radial_segments: - :ref:`int` **radial_segments** - Number of radial segments on the capsule mesh. Defaults to 64. .. _class_CapsuleMesh_radius: - :ref:`float` **radius** - Radius of the capsule mesh. Defaults to 1.0. .. _class_CapsuleMesh_rings: - :ref:`int` **rings** - Number of rings along the height of the capsule. Defaults to 8. Description ----------- Class representing a capsule-shaped :ref:`PrimitiveMesh`.