mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 20:29:03 +00:00
99 lines
5.9 KiB
ReStructuredText
99 lines
5.9 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_ParticleAttractor2D:
|
|
|
|
ParticleAttractor2D
|
|
===================
|
|
|
|
**Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_absorption<class_ParticleAttractor2D_get_absorption>` **(** **)** const |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_disable_radius<class_ParticleAttractor2D_get_disable_radius>` **(** **)** const |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_gravity<class_ParticleAttractor2D_get_gravity>` **(** **)** const |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`NodePath<class_nodepath>` | :ref:`get_particles_path<class_ParticleAttractor2D_get_particles_path>` **(** **)** const |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_radius<class_ParticleAttractor2D_get_radius>` **(** **)** const |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`is_enabled<class_ParticleAttractor2D_is_enabled>` **(** **)** const |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_absorption<class_ParticleAttractor2D_set_absorption>` **(** :ref:`float<class_float>` absorption **)** |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_disable_radius<class_ParticleAttractor2D_set_disable_radius>` **(** :ref:`float<class_float>` radius **)** |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_enabled<class_ParticleAttractor2D_set_enabled>` **(** :ref:`bool<class_bool>` enabled **)** |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_gravity<class_ParticleAttractor2D_set_gravity>` **(** :ref:`float<class_float>` gravity **)** |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_particles_path<class_ParticleAttractor2D_set_particles_path>` **(** :ref:`NodePath<class_nodepath>` path **)** |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_radius<class_ParticleAttractor2D_set_radius>` **(** :ref:`float<class_float>` radius **)** |
|
|
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_ParticleAttractor2D_get_absorption:
|
|
|
|
- :ref:`float<class_float>` **get_absorption** **(** **)** const
|
|
|
|
.. _class_ParticleAttractor2D_get_disable_radius:
|
|
|
|
- :ref:`float<class_float>` **get_disable_radius** **(** **)** const
|
|
|
|
.. _class_ParticleAttractor2D_get_gravity:
|
|
|
|
- :ref:`float<class_float>` **get_gravity** **(** **)** const
|
|
|
|
.. _class_ParticleAttractor2D_get_particles_path:
|
|
|
|
- :ref:`NodePath<class_nodepath>` **get_particles_path** **(** **)** const
|
|
|
|
.. _class_ParticleAttractor2D_get_radius:
|
|
|
|
- :ref:`float<class_float>` **get_radius** **(** **)** const
|
|
|
|
.. _class_ParticleAttractor2D_is_enabled:
|
|
|
|
- :ref:`bool<class_bool>` **is_enabled** **(** **)** const
|
|
|
|
.. _class_ParticleAttractor2D_set_absorption:
|
|
|
|
- void **set_absorption** **(** :ref:`float<class_float>` absorption **)**
|
|
|
|
.. _class_ParticleAttractor2D_set_disable_radius:
|
|
|
|
- void **set_disable_radius** **(** :ref:`float<class_float>` radius **)**
|
|
|
|
.. _class_ParticleAttractor2D_set_enabled:
|
|
|
|
- void **set_enabled** **(** :ref:`bool<class_bool>` enabled **)**
|
|
|
|
.. _class_ParticleAttractor2D_set_gravity:
|
|
|
|
- void **set_gravity** **(** :ref:`float<class_float>` gravity **)**
|
|
|
|
.. _class_ParticleAttractor2D_set_particles_path:
|
|
|
|
- void **set_particles_path** **(** :ref:`NodePath<class_nodepath>` path **)**
|
|
|
|
.. _class_ParticleAttractor2D_set_radius:
|
|
|
|
- void **set_radius** **(** :ref:`float<class_float>` radius **)**
|
|
|
|
|