.. 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_Particles: Particles ========= **Inherits:** :ref:`GeometryInstance` **<** :ref:`VisualInstance` **<** :ref:`Spatial` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Rect3` | :ref:`capture_aabb` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_amount` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_draw_order` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Mesh` | :ref:`get_draw_pass_mesh` **(** :ref:`int` pass **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_draw_passes` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_explosiveness_ratio` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_fixed_fps` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_fractional_delta` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_lifetime` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_one_shot` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_pre_process_time` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Material` | :ref:`get_process_material` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_randomness_ratio` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_speed_scale` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_use_local_coordinates` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Rect3` | :ref:`get_visibility_aabb` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_emitting` **(** **)** const | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`restart` **(** **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_amount` **(** :ref:`int` amount **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_draw_order` **(** :ref:`int` order **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_draw_pass_mesh` **(** :ref:`int` pass, :ref:`Mesh` mesh **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_draw_passes` **(** :ref:`int` passes **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_emitting` **(** :ref:`bool` emitting **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_explosiveness_ratio` **(** :ref:`float` ratio **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_fixed_fps` **(** :ref:`int` fps **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_fractional_delta` **(** :ref:`bool` enable **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_lifetime` **(** :ref:`float` secs **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_one_shot` **(** :ref:`bool` enable **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_pre_process_time` **(** :ref:`float` secs **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_process_material` **(** :ref:`Material` material **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_randomness_ratio` **(** :ref:`float` ratio **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_speed_scale` **(** :ref:`float` scale **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_use_local_coordinates` **(** :ref:`bool` enable **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_visibility_aabb` **(** :ref:`Rect3` aabb **)** | +----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`int` **amount** - :ref:`int` **draw_order** - :ref:`Mesh` **draw_pass_1** - :ref:`Mesh` **draw_pass_2** - :ref:`Mesh` **draw_pass_3** - :ref:`Mesh` **draw_pass_4** - :ref:`int` **draw_passes** - :ref:`bool` **emitting** - :ref:`float` **explosiveness** - :ref:`int` **fixed_fps** - :ref:`bool` **fract_delta** - :ref:`float` **lifetime** - :ref:`bool` **local_coords** - :ref:`bool` **one_shot** - :ref:`float` **preprocess** - :ref:`Material` **process_material** - :ref:`float` **randomness** - :ref:`float` **speed_scale** - :ref:`Rect3` **visibility_aabb** Numeric Constants ----------------- - **DRAW_ORDER_INDEX** = **0** - **DRAW_ORDER_LIFETIME** = **1** - **DRAW_ORDER_VIEW_DEPTH** = **2** - **MAX_DRAW_PASSES** = **4** Member Function Description --------------------------- .. _class_Particles_capture_aabb: - :ref:`Rect3` **capture_aabb** **(** **)** const .. _class_Particles_get_amount: - :ref:`int` **get_amount** **(** **)** const .. _class_Particles_get_draw_order: - :ref:`int` **get_draw_order** **(** **)** const .. _class_Particles_get_draw_pass_mesh: - :ref:`Mesh` **get_draw_pass_mesh** **(** :ref:`int` pass **)** const .. _class_Particles_get_draw_passes: - :ref:`int` **get_draw_passes** **(** **)** const .. _class_Particles_get_explosiveness_ratio: - :ref:`float` **get_explosiveness_ratio** **(** **)** const .. _class_Particles_get_fixed_fps: - :ref:`int` **get_fixed_fps** **(** **)** const .. _class_Particles_get_fractional_delta: - :ref:`bool` **get_fractional_delta** **(** **)** const .. _class_Particles_get_lifetime: - :ref:`float` **get_lifetime** **(** **)** const .. _class_Particles_get_one_shot: - :ref:`bool` **get_one_shot** **(** **)** const .. _class_Particles_get_pre_process_time: - :ref:`float` **get_pre_process_time** **(** **)** const .. _class_Particles_get_process_material: - :ref:`Material` **get_process_material** **(** **)** const .. _class_Particles_get_randomness_ratio: - :ref:`float` **get_randomness_ratio** **(** **)** const .. _class_Particles_get_speed_scale: - :ref:`float` **get_speed_scale** **(** **)** const .. _class_Particles_get_use_local_coordinates: - :ref:`bool` **get_use_local_coordinates** **(** **)** const .. _class_Particles_get_visibility_aabb: - :ref:`Rect3` **get_visibility_aabb** **(** **)** const .. _class_Particles_is_emitting: - :ref:`bool` **is_emitting** **(** **)** const .. _class_Particles_restart: - void **restart** **(** **)** .. _class_Particles_set_amount: - void **set_amount** **(** :ref:`int` amount **)** .. _class_Particles_set_draw_order: - void **set_draw_order** **(** :ref:`int` order **)** .. _class_Particles_set_draw_pass_mesh: - void **set_draw_pass_mesh** **(** :ref:`int` pass, :ref:`Mesh` mesh **)** .. _class_Particles_set_draw_passes: - void **set_draw_passes** **(** :ref:`int` passes **)** .. _class_Particles_set_emitting: - void **set_emitting** **(** :ref:`bool` emitting **)** .. _class_Particles_set_explosiveness_ratio: - void **set_explosiveness_ratio** **(** :ref:`float` ratio **)** .. _class_Particles_set_fixed_fps: - void **set_fixed_fps** **(** :ref:`int` fps **)** .. _class_Particles_set_fractional_delta: - void **set_fractional_delta** **(** :ref:`bool` enable **)** .. _class_Particles_set_lifetime: - void **set_lifetime** **(** :ref:`float` secs **)** .. _class_Particles_set_one_shot: - void **set_one_shot** **(** :ref:`bool` enable **)** .. _class_Particles_set_pre_process_time: - void **set_pre_process_time** **(** :ref:`float` secs **)** .. _class_Particles_set_process_material: - void **set_process_material** **(** :ref:`Material` material **)** .. _class_Particles_set_randomness_ratio: - void **set_randomness_ratio** **(** :ref:`float` ratio **)** .. _class_Particles_set_speed_scale: - void **set_speed_scale** **(** :ref:`float` scale **)** .. _class_Particles_set_use_local_coordinates: - void **set_use_local_coordinates** **(** :ref:`bool` enable **)** .. _class_Particles_set_visibility_aabb: - void **set_visibility_aabb** **(** :ref:`Rect3` aabb **)**