class_springarm.rst 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>` | 1 |
  15. +---------------------------+----------------------------------------------------------------+------+
  16. | :ref:`float<class_float>` | :ref:`margin<class_SpringArm_property_margin>` | 0.01 |
  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>` | 1.0 |
  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. | *Default* | 1 |
  39. +-----------+---------------------------+
  40. | *Setter* | set_collision_mask(value) |
  41. +-----------+---------------------------+
  42. | *Getter* | get_collision_mask() |
  43. +-----------+---------------------------+
  44. .. _class_SpringArm_property_margin:
  45. - :ref:`float<class_float>` **margin**
  46. +-----------+-------------------+
  47. | *Default* | 0.01 |
  48. +-----------+-------------------+
  49. | *Setter* | set_margin(value) |
  50. +-----------+-------------------+
  51. | *Getter* | get_margin() |
  52. +-----------+-------------------+
  53. .. _class_SpringArm_property_shape:
  54. - :ref:`Shape<class_Shape>` **shape**
  55. +----------+------------------+
  56. | *Setter* | set_shape(value) |
  57. +----------+------------------+
  58. | *Getter* | get_shape() |
  59. +----------+------------------+
  60. .. _class_SpringArm_property_spring_length:
  61. - :ref:`float<class_float>` **spring_length**
  62. +-----------+-------------------+
  63. | *Default* | 1.0 |
  64. +-----------+-------------------+
  65. | *Setter* | set_length(value) |
  66. +-----------+-------------------+
  67. | *Getter* | get_length() |
  68. +-----------+-------------------+
  69. Method Descriptions
  70. -------------------
  71. .. _class_SpringArm_method_add_excluded_object:
  72. - void **add_excluded_object** **(** :ref:`RID<class_RID>` RID **)**
  73. .. _class_SpringArm_method_clear_excluded_objects:
  74. - void **clear_excluded_objects** **(** **)**
  75. .. _class_SpringArm_method_get_hit_length:
  76. - :ref:`float<class_float>` **get_hit_length** **(** **)**
  77. .. _class_SpringArm_method_remove_excluded_object:
  78. - :ref:`bool<class_bool>` **remove_excluded_object** **(** :ref:`RID<class_RID>` RID **)**