class_springarm.rst 4.2 KB

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