class_collisionshape.rst 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .. _class_CollisionShape:
  2. CollisionShape
  3. ==============
  4. **Inherits:** :ref:`Spatial<class_spatial>`
  5. **Category:** Core
  6. Member Functions
  7. ----------------
  8. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  9. | void | :ref:`resource_changed<class_CollisionShape_resource_changed>` **(** :ref:`Object<class_object>` resource **)** |
  10. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  11. | void | :ref:`set_shape<class_CollisionShape_set_shape>` **(** :ref:`Object<class_object>` shape **)** |
  12. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`Object<class_object>` | :ref:`get_shape<class_CollisionShape_get_shape>` **(** **)** const |
  14. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  15. | void | :ref:`set_trigger<class_CollisionShape_set_trigger>` **(** :ref:`bool<class_bool>` enable **)** |
  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. | :ref:`int<class_int>` | :ref:`get_collision_object_shape_index<class_CollisionShape_get_collision_object_shape_index>` **(** **)** const |
  22. +------------------------------+-------------------------------------------------------------------------------------------------------------------+
  23. Member Function Description
  24. ---------------------------
  25. .. _class_CollisionShape_resource_changed:
  26. - void **resource_changed** **(** :ref:`Object<class_object>` resource **)**
  27. .. _class_CollisionShape_set_shape:
  28. - void **set_shape** **(** :ref:`Object<class_object>` shape **)**
  29. .. _class_CollisionShape_get_shape:
  30. - :ref:`Object<class_object>` **get_shape** **(** **)** const
  31. .. _class_CollisionShape_set_trigger:
  32. - void **set_trigger** **(** :ref:`bool<class_bool>` enable **)**
  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_get_collision_object_shape_index:
  38. - :ref:`int<class_int>` **get_collision_object_shape_index** **(** **)** const