mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
121 lines
4.2 KiB
ReStructuredText
121 lines
4.2 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the SpringArm.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_SpringArm:
|
|
|
|
SpringArm
|
|
=========
|
|
|
|
**Inherits:** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Properties
|
|
----------
|
|
|
|
+---------------------------+----------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`collision_mask<class_SpringArm_property_collision_mask>` |
|
|
+---------------------------+----------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`margin<class_SpringArm_property_margin>` |
|
|
+---------------------------+----------------------------------------------------------------+
|
|
| :ref:`Shape<class_Shape>` | :ref:`shape<class_SpringArm_property_shape>` |
|
|
+---------------------------+----------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`spring_length<class_SpringArm_property_spring_length>` |
|
|
+---------------------------+----------------------------------------------------------------+
|
|
|
|
Methods
|
|
-------
|
|
|
|
+---------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`add_excluded_object<class_SpringArm_method_add_excluded_object>` **(** :ref:`RID<class_RID>` RID **)** |
|
|
+---------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`clear_excluded_objects<class_SpringArm_method_clear_excluded_objects>` **(** **)** |
|
|
+---------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_hit_length<class_SpringArm_method_get_hit_length>` **(** **)** |
|
|
+---------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`remove_excluded_object<class_SpringArm_method_remove_excluded_object>` **(** :ref:`RID<class_RID>` RID **)** |
|
|
+---------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_SpringArm_property_collision_mask:
|
|
|
|
- :ref:`int<class_int>` **collision_mask**
|
|
|
|
+----------+---------------------------+
|
|
| *Setter* | set_collision_mask(value) |
|
|
+----------+---------------------------+
|
|
| *Getter* | get_collision_mask() |
|
|
+----------+---------------------------+
|
|
|
|
----
|
|
|
|
.. _class_SpringArm_property_margin:
|
|
|
|
- :ref:`float<class_float>` **margin**
|
|
|
|
+----------+-------------------+
|
|
| *Setter* | set_margin(value) |
|
|
+----------+-------------------+
|
|
| *Getter* | get_margin() |
|
|
+----------+-------------------+
|
|
|
|
----
|
|
|
|
.. _class_SpringArm_property_shape:
|
|
|
|
- :ref:`Shape<class_Shape>` **shape**
|
|
|
|
+----------+------------------+
|
|
| *Setter* | set_shape(value) |
|
|
+----------+------------------+
|
|
| *Getter* | get_shape() |
|
|
+----------+------------------+
|
|
|
|
----
|
|
|
|
.. _class_SpringArm_property_spring_length:
|
|
|
|
- :ref:`float<class_float>` **spring_length**
|
|
|
|
+----------+-------------------+
|
|
| *Setter* | set_length(value) |
|
|
+----------+-------------------+
|
|
| *Getter* | get_length() |
|
|
+----------+-------------------+
|
|
|
|
Method Descriptions
|
|
-------------------
|
|
|
|
.. _class_SpringArm_method_add_excluded_object:
|
|
|
|
- void **add_excluded_object** **(** :ref:`RID<class_RID>` RID **)**
|
|
|
|
----
|
|
|
|
.. _class_SpringArm_method_clear_excluded_objects:
|
|
|
|
- void **clear_excluded_objects** **(** **)**
|
|
|
|
----
|
|
|
|
.. _class_SpringArm_method_get_hit_length:
|
|
|
|
- :ref:`float<class_float>` **get_hit_length** **(** **)**
|
|
|
|
----
|
|
|
|
.. _class_SpringArm_method_remove_excluded_object:
|
|
|
|
- :ref:`bool<class_bool>` **remove_excluded_object** **(** :ref:`RID<class_RID>` RID **)**
|
|
|