.. 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/<name>/doc_classes.

.. _class_CapsuleMesh:

CapsuleMesh
===========

**Inherits:** :ref:`PrimitiveMesh<class_primitivemesh>` **<** :ref:`Mesh<class_mesh>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`

**Category:** Core

Brief Description
-----------------

Class representing a capsule-shaped :ref:`PrimitiveMesh<class_primitivemesh>`.

Member Variables
----------------

  .. _class_CapsuleMesh_mid_height:

- :ref:`float<class_float>` **mid_height** - Height of the capsule mesh from the center point. Defaults to 1.0.

  .. _class_CapsuleMesh_radial_segments:

- :ref:`int<class_int>` **radial_segments** - Number of radial segments on the capsule mesh. Defaults to 64.

  .. _class_CapsuleMesh_radius:

- :ref:`float<class_float>` **radius** - Radius of the capsule mesh. Defaults to 1.0.

  .. _class_CapsuleMesh_rings:

- :ref:`int<class_int>` **rings** - Number of rings along the height of the capsule. Defaults to 8.


Description
-----------

Class representing a capsule-shaped :ref:`PrimitiveMesh<class_primitivemesh>`.

