.. 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_CollisionShape: CollisionShape ============== **Inherits:** :ref:`Spatial` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`Shape` | :ref:`get_shape` **(** **)** const | +----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_disabled` **(** **)** const | +----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`make_convex_from_brothers` **(** **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`resource_changed` **(** :ref:`Resource` resource **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_disabled` **(** :ref:`bool` enable **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_shape` **(** :ref:`Shape` shape **)** | +----------------------------+-----------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`bool` **disabled** - :ref:`Shape` **shape** Member Function Description --------------------------- .. _class_CollisionShape_get_shape: - :ref:`Shape` **get_shape** **(** **)** const .. _class_CollisionShape_is_disabled: - :ref:`bool` **is_disabled** **(** **)** const .. _class_CollisionShape_make_convex_from_brothers: - void **make_convex_from_brothers** **(** **)** .. _class_CollisionShape_resource_changed: - void **resource_changed** **(** :ref:`Resource` resource **)** .. _class_CollisionShape_set_disabled: - void **set_disabled** **(** :ref:`bool` enable **)** .. _class_CollisionShape_set_shape: - void **set_shape** **(** :ref:`Shape` shape **)**