class_capsuleshape.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the CapsuleShape.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_CapsuleShape:
  5. CapsuleShape
  6. ============
  7. **Inherits:** :ref:`Shape<class_Shape>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Capsule shape for collisions.
  12. Properties
  13. ----------
  14. +---------------------------+---------------------------------------------------+
  15. | :ref:`float<class_float>` | :ref:`height<class_CapsuleShape_property_height>` |
  16. +---------------------------+---------------------------------------------------+
  17. | :ref:`float<class_float>` | :ref:`radius<class_CapsuleShape_property_radius>` |
  18. +---------------------------+---------------------------------------------------+
  19. Description
  20. -----------
  21. Capsule shape for collisions.
  22. Property Descriptions
  23. ---------------------
  24. .. _class_CapsuleShape_property_height:
  25. - :ref:`float<class_float>` **height**
  26. +----------+-------------------+
  27. | *Setter* | set_height(value) |
  28. +----------+-------------------+
  29. | *Getter* | get_height() |
  30. +----------+-------------------+
  31. The capsule's height.
  32. .. _class_CapsuleShape_property_radius:
  33. - :ref:`float<class_float>` **radius**
  34. +----------+-------------------+
  35. | *Setter* | set_radius(value) |
  36. +----------+-------------------+
  37. | *Getter* | get_radius() |
  38. +----------+-------------------+
  39. The capsule's radius.