.. 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_CircleShape2D: CircleShape2D ============= **Inherits:** :ref:`Shape2D` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Circular Shape for 2D Physics. Member Functions ---------------- +----------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_radius` **(** **)** const | +----------------------------+--------------------------------------------------------------------------------------------------+ | void | :ref:`set_radius` **(** :ref:`float` radius **)** | +----------------------------+--------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`float` **radius** Description ----------- Circular Shape for 2D Physics. This shape is useful for modeling balls or small characters and its collision detection with everything else is very fast. Member Function Description --------------------------- .. _class_CircleShape2D_get_radius: - :ref:`float` **get_radius** **(** **)** const Return the radius of the circle shape. .. _class_CircleShape2D_set_radius: - void **set_radius** **(** :ref:`float` radius **)** Set the radius of the circle shape.