Files
godot-docs/classes/class_collisionshape.rst
T

69 lines
3.1 KiB
ReStructuredText

.. 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<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+------------------------------+-------------------------------------------------------------------------------------------------------------------+
| :ref:`Object<class_object>` | :ref:`get_shape<class_CollisionShape_get_shape>` **(** **)** const |
+------------------------------+-------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_disabled<class_CollisionShape_is_disabled>` **(** **)** const |
+------------------------------+-------------------------------------------------------------------------------------------------------------------+
| void | :ref:`make_convex_from_brothers<class_CollisionShape_make_convex_from_brothers>` **(** **)** |
+------------------------------+-------------------------------------------------------------------------------------------------------------------+
| void | :ref:`resource_changed<class_CollisionShape_resource_changed>` **(** :ref:`Object<class_object>` resource **)** |
+------------------------------+-------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_disabled<class_CollisionShape_set_disabled>` **(** :ref:`bool<class_bool>` enable **)** |
+------------------------------+-------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_shape<class_CollisionShape_set_shape>` **(** :ref:`Object<class_object>` shape **)** |
+------------------------------+-------------------------------------------------------------------------------------------------------------------+
Member Variables
----------------
- :ref:`bool<class_bool>` **disabled**
- :ref:`Shape<class_shape>` **shape**
Member Function Description
---------------------------
.. _class_CollisionShape_get_shape:
- :ref:`Object<class_object>` **get_shape** **(** **)** const
.. _class_CollisionShape_is_disabled:
- :ref:`bool<class_bool>` **is_disabled** **(** **)** const
.. _class_CollisionShape_make_convex_from_brothers:
- void **make_convex_from_brothers** **(** **)**
.. _class_CollisionShape_resource_changed:
- void **resource_changed** **(** :ref:`Object<class_object>` resource **)**
.. _class_CollisionShape_set_disabled:
- void **set_disabled** **(** :ref:`bool<class_bool>` enable **)**
.. _class_CollisionShape_set_shape:
- void **set_shape** **(** :ref:`Object<class_object>` shape **)**