class_springarm.rst 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the SpringArm.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_SpringArm:
  5. SpringArm
  6. =========
  7. **Inherits:** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Properties
  12. ----------
  13. +---------------------------+----------------------------------------------------------------+
  14. | :ref:`int<class_int>` | :ref:`collision_mask<class_SpringArm_property_collision_mask>` |
  15. +---------------------------+----------------------------------------------------------------+
  16. | :ref:`float<class_float>` | :ref:`margin<class_SpringArm_property_margin>` |
  17. +---------------------------+----------------------------------------------------------------+
  18. | :ref:`Shape<class_Shape>` | :ref:`shape<class_SpringArm_property_shape>` |
  19. +---------------------------+----------------------------------------------------------------+
  20. | :ref:`float<class_float>` | :ref:`spring_length<class_SpringArm_property_spring_length>` |
  21. +---------------------------+----------------------------------------------------------------+
  22. Methods
  23. -------
  24. +---------------------------+--------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`add_excluded_object<class_SpringArm_method_add_excluded_object>` **(** :ref:`RID<class_RID>` RID **)** |
  26. +---------------------------+--------------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`clear_excluded_objects<class_SpringArm_method_clear_excluded_objects>` **(** **)** |
  28. +---------------------------+--------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`float<class_float>` | :ref:`get_hit_length<class_SpringArm_method_get_hit_length>` **(** **)** |
  30. +---------------------------+--------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`bool<class_bool>` | :ref:`remove_excluded_object<class_SpringArm_method_remove_excluded_object>` **(** :ref:`RID<class_RID>` RID **)** |
  32. +---------------------------+--------------------------------------------------------------------------------------------------------------------+
  33. Property Descriptions
  34. ---------------------
  35. .. _class_SpringArm_property_collision_mask:
  36. - :ref:`int<class_int>` **collision_mask**
  37. +----------+---------------------------+
  38. | *Setter* | set_collision_mask(value) |
  39. +----------+---------------------------+
  40. | *Getter* | get_collision_mask() |
  41. +----------+---------------------------+
  42. .. _class_SpringArm_property_margin:
  43. - :ref:`float<class_float>` **margin**
  44. +----------+-------------------+
  45. | *Setter* | set_margin(value) |
  46. +----------+-------------------+
  47. | *Getter* | get_margin() |
  48. +----------+-------------------+
  49. .. _class_SpringArm_property_shape:
  50. - :ref:`Shape<class_Shape>` **shape**
  51. +----------+------------------+
  52. | *Setter* | set_shape(value) |
  53. +----------+------------------+
  54. | *Getter* | get_shape() |
  55. +----------+------------------+
  56. .. _class_SpringArm_property_spring_length:
  57. - :ref:`float<class_float>` **spring_length**
  58. +----------+-------------------+
  59. | *Setter* | set_length(value) |
  60. +----------+-------------------+
  61. | *Getter* | get_length() |
  62. +----------+-------------------+
  63. Method Descriptions
  64. -------------------
  65. .. _class_SpringArm_method_add_excluded_object:
  66. - void **add_excluded_object** **(** :ref:`RID<class_RID>` RID **)**
  67. .. _class_SpringArm_method_clear_excluded_objects:
  68. - void **clear_excluded_objects** **(** **)**
  69. .. _class_SpringArm_method_get_hit_length:
  70. - :ref:`float<class_float>` **get_hit_length** **(** **)**
  71. .. _class_SpringArm_method_remove_excluded_object:
  72. - :ref:`bool<class_bool>` **remove_excluded_object** **(** :ref:`RID<class_RID>` RID **)**