class_collisionshape.rst 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_CollisionShape:
  4. CollisionShape
  5. ==============
  6. **Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`int<class_int>` | :ref:`get_collision_object_shape_index<class_CollisionShape_get_collision_object_shape_index>` **(** **)** const |
  14. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Object<class_object>` | :ref:`get_shape<class_CollisionShape_get_shape>` **(** **)** const |
  16. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`is_trigger<class_CollisionShape_is_trigger>` **(** **)** const |
  18. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`make_convex_from_brothers<class_CollisionShape_make_convex_from_brothers>` **(** **)** |
  20. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`resource_changed<class_CollisionShape_resource_changed>` **(** :ref:`Object<class_object>` resource **)** |
  22. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  23. | void | :ref:`set_shape<class_CollisionShape_set_shape>` **(** :ref:`Object<class_object>` shape **)** |
  24. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_trigger<class_CollisionShape_set_trigger>` **(** :ref:`bool<class_bool>` enable **)** |
  26. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  27. Member Function Description
  28. ---------------------------
  29. .. _class_CollisionShape_get_collision_object_shape_index:
  30. - :ref:`int<class_int>` **get_collision_object_shape_index** **(** **)** const
  31. .. _class_CollisionShape_get_shape:
  32. - :ref:`Object<class_object>` **get_shape** **(** **)** const
  33. .. _class_CollisionShape_is_trigger:
  34. - :ref:`bool<class_bool>` **is_trigger** **(** **)** const
  35. .. _class_CollisionShape_make_convex_from_brothers:
  36. - void **make_convex_from_brothers** **(** **)**
  37. .. _class_CollisionShape_resource_changed:
  38. - void **resource_changed** **(** :ref:`Object<class_object>` resource **)**
  39. .. _class_CollisionShape_set_shape:
  40. - void **set_shape** **(** :ref:`Object<class_object>` shape **)**
  41. .. _class_CollisionShape_set_trigger:
  42. - void **set_trigger** **(** :ref:`bool<class_bool>` enable **)**