class_cpuparticles3d.rst 93 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/CPUParticles3D.xml.
  6. .. _class_CPUParticles3D:
  7. CPUParticles3D
  8. ==============
  9. **Inherits:** :ref:`GeometryInstance3D<class_GeometryInstance3D>` **<** :ref:`VisualInstance3D<class_VisualInstance3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. A CPU-based 3D particle emitter.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. CPU-based 3D particle node used to create a variety of particle systems and effects.
  15. See also :ref:`GPUParticles3D<class_GPUParticles3D>`, which provides the same functionality with hardware acceleration, but may not run on older devices.
  16. .. rst-class:: classref-introduction-group
  17. Tutorials
  18. ---------
  19. - :doc:`Particle systems (3D) <../tutorials/3d/particles/index>`
  20. .. rst-class:: classref-reftable-group
  21. Properties
  22. ----------
  23. .. table::
  24. :widths: auto
  25. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  26. | :ref:`int<class_int>` | :ref:`amount<class_CPUParticles3D_property_amount>` | ``8`` |
  27. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  28. | :ref:`Curve<class_Curve>` | :ref:`angle_curve<class_CPUParticles3D_property_angle_curve>` | |
  29. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  30. | :ref:`float<class_float>` | :ref:`angle_max<class_CPUParticles3D_property_angle_max>` | ``0.0`` |
  31. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  32. | :ref:`float<class_float>` | :ref:`angle_min<class_CPUParticles3D_property_angle_min>` | ``0.0`` |
  33. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  34. | :ref:`Curve<class_Curve>` | :ref:`angular_velocity_curve<class_CPUParticles3D_property_angular_velocity_curve>` | |
  35. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  36. | :ref:`float<class_float>` | :ref:`angular_velocity_max<class_CPUParticles3D_property_angular_velocity_max>` | ``0.0`` |
  37. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  38. | :ref:`float<class_float>` | :ref:`angular_velocity_min<class_CPUParticles3D_property_angular_velocity_min>` | ``0.0`` |
  39. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  40. | :ref:`Curve<class_Curve>` | :ref:`anim_offset_curve<class_CPUParticles3D_property_anim_offset_curve>` | |
  41. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  42. | :ref:`float<class_float>` | :ref:`anim_offset_max<class_CPUParticles3D_property_anim_offset_max>` | ``0.0`` |
  43. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  44. | :ref:`float<class_float>` | :ref:`anim_offset_min<class_CPUParticles3D_property_anim_offset_min>` | ``0.0`` |
  45. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  46. | :ref:`Curve<class_Curve>` | :ref:`anim_speed_curve<class_CPUParticles3D_property_anim_speed_curve>` | |
  47. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  48. | :ref:`float<class_float>` | :ref:`anim_speed_max<class_CPUParticles3D_property_anim_speed_max>` | ``0.0`` |
  49. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  50. | :ref:`float<class_float>` | :ref:`anim_speed_min<class_CPUParticles3D_property_anim_speed_min>` | ``0.0`` |
  51. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  52. | :ref:`Color<class_Color>` | :ref:`color<class_CPUParticles3D_property_color>` | ``Color(1, 1, 1, 1)`` |
  53. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  54. | :ref:`Gradient<class_Gradient>` | :ref:`color_initial_ramp<class_CPUParticles3D_property_color_initial_ramp>` | |
  55. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  56. | :ref:`Gradient<class_Gradient>` | :ref:`color_ramp<class_CPUParticles3D_property_color_ramp>` | |
  57. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  58. | :ref:`Curve<class_Curve>` | :ref:`damping_curve<class_CPUParticles3D_property_damping_curve>` | |
  59. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  60. | :ref:`float<class_float>` | :ref:`damping_max<class_CPUParticles3D_property_damping_max>` | ``0.0`` |
  61. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  62. | :ref:`float<class_float>` | :ref:`damping_min<class_CPUParticles3D_property_damping_min>` | ``0.0`` |
  63. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  64. | :ref:`Vector3<class_Vector3>` | :ref:`direction<class_CPUParticles3D_property_direction>` | ``Vector3(1, 0, 0)`` |
  65. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  66. | :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>` | :ref:`draw_order<class_CPUParticles3D_property_draw_order>` | ``0`` |
  67. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  68. | :ref:`Vector3<class_Vector3>` | :ref:`emission_box_extents<class_CPUParticles3D_property_emission_box_extents>` | |
  69. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  70. | :ref:`PackedColorArray<class_PackedColorArray>` | :ref:`emission_colors<class_CPUParticles3D_property_emission_colors>` | ``PackedColorArray()`` |
  71. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  72. | :ref:`PackedVector3Array<class_PackedVector3Array>` | :ref:`emission_normals<class_CPUParticles3D_property_emission_normals>` | |
  73. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  74. | :ref:`PackedVector3Array<class_PackedVector3Array>` | :ref:`emission_points<class_CPUParticles3D_property_emission_points>` | |
  75. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  76. | :ref:`Vector3<class_Vector3>` | :ref:`emission_ring_axis<class_CPUParticles3D_property_emission_ring_axis>` | |
  77. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  78. | :ref:`float<class_float>` | :ref:`emission_ring_height<class_CPUParticles3D_property_emission_ring_height>` | |
  79. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  80. | :ref:`float<class_float>` | :ref:`emission_ring_inner_radius<class_CPUParticles3D_property_emission_ring_inner_radius>` | |
  81. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  82. | :ref:`float<class_float>` | :ref:`emission_ring_radius<class_CPUParticles3D_property_emission_ring_radius>` | |
  83. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  84. | :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` | :ref:`emission_shape<class_CPUParticles3D_property_emission_shape>` | ``0`` |
  85. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  86. | :ref:`float<class_float>` | :ref:`emission_sphere_radius<class_CPUParticles3D_property_emission_sphere_radius>` | |
  87. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  88. | :ref:`bool<class_bool>` | :ref:`emitting<class_CPUParticles3D_property_emitting>` | ``true`` |
  89. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  90. | :ref:`float<class_float>` | :ref:`explosiveness<class_CPUParticles3D_property_explosiveness>` | ``0.0`` |
  91. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  92. | :ref:`int<class_int>` | :ref:`fixed_fps<class_CPUParticles3D_property_fixed_fps>` | ``0`` |
  93. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  94. | :ref:`float<class_float>` | :ref:`flatness<class_CPUParticles3D_property_flatness>` | ``0.0`` |
  95. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  96. | :ref:`bool<class_bool>` | :ref:`fract_delta<class_CPUParticles3D_property_fract_delta>` | ``true`` |
  97. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  98. | :ref:`Vector3<class_Vector3>` | :ref:`gravity<class_CPUParticles3D_property_gravity>` | ``Vector3(0, -9.8, 0)`` |
  99. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  100. | :ref:`Curve<class_Curve>` | :ref:`hue_variation_curve<class_CPUParticles3D_property_hue_variation_curve>` | |
  101. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  102. | :ref:`float<class_float>` | :ref:`hue_variation_max<class_CPUParticles3D_property_hue_variation_max>` | ``0.0`` |
  103. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  104. | :ref:`float<class_float>` | :ref:`hue_variation_min<class_CPUParticles3D_property_hue_variation_min>` | ``0.0`` |
  105. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  106. | :ref:`float<class_float>` | :ref:`initial_velocity_max<class_CPUParticles3D_property_initial_velocity_max>` | ``0.0`` |
  107. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  108. | :ref:`float<class_float>` | :ref:`initial_velocity_min<class_CPUParticles3D_property_initial_velocity_min>` | ``0.0`` |
  109. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  110. | :ref:`float<class_float>` | :ref:`lifetime<class_CPUParticles3D_property_lifetime>` | ``1.0`` |
  111. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  112. | :ref:`float<class_float>` | :ref:`lifetime_randomness<class_CPUParticles3D_property_lifetime_randomness>` | ``0.0`` |
  113. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  114. | :ref:`Curve<class_Curve>` | :ref:`linear_accel_curve<class_CPUParticles3D_property_linear_accel_curve>` | |
  115. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  116. | :ref:`float<class_float>` | :ref:`linear_accel_max<class_CPUParticles3D_property_linear_accel_max>` | ``0.0`` |
  117. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  118. | :ref:`float<class_float>` | :ref:`linear_accel_min<class_CPUParticles3D_property_linear_accel_min>` | ``0.0`` |
  119. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  120. | :ref:`bool<class_bool>` | :ref:`local_coords<class_CPUParticles3D_property_local_coords>` | ``false`` |
  121. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  122. | :ref:`Mesh<class_Mesh>` | :ref:`mesh<class_CPUParticles3D_property_mesh>` | |
  123. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  124. | :ref:`bool<class_bool>` | :ref:`one_shot<class_CPUParticles3D_property_one_shot>` | ``false`` |
  125. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  126. | :ref:`Curve<class_Curve>` | :ref:`orbit_velocity_curve<class_CPUParticles3D_property_orbit_velocity_curve>` | |
  127. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  128. | :ref:`float<class_float>` | :ref:`orbit_velocity_max<class_CPUParticles3D_property_orbit_velocity_max>` | |
  129. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  130. | :ref:`float<class_float>` | :ref:`orbit_velocity_min<class_CPUParticles3D_property_orbit_velocity_min>` | |
  131. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  132. | :ref:`bool<class_bool>` | :ref:`particle_flag_align_y<class_CPUParticles3D_property_particle_flag_align_y>` | ``false`` |
  133. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  134. | :ref:`bool<class_bool>` | :ref:`particle_flag_disable_z<class_CPUParticles3D_property_particle_flag_disable_z>` | ``false`` |
  135. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  136. | :ref:`bool<class_bool>` | :ref:`particle_flag_rotate_y<class_CPUParticles3D_property_particle_flag_rotate_y>` | ``false`` |
  137. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  138. | :ref:`float<class_float>` | :ref:`preprocess<class_CPUParticles3D_property_preprocess>` | ``0.0`` |
  139. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  140. | :ref:`Curve<class_Curve>` | :ref:`radial_accel_curve<class_CPUParticles3D_property_radial_accel_curve>` | |
  141. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  142. | :ref:`float<class_float>` | :ref:`radial_accel_max<class_CPUParticles3D_property_radial_accel_max>` | ``0.0`` |
  143. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  144. | :ref:`float<class_float>` | :ref:`radial_accel_min<class_CPUParticles3D_property_radial_accel_min>` | ``0.0`` |
  145. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  146. | :ref:`float<class_float>` | :ref:`randomness<class_CPUParticles3D_property_randomness>` | ``0.0`` |
  147. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  148. | :ref:`Curve<class_Curve>` | :ref:`scale_amount_curve<class_CPUParticles3D_property_scale_amount_curve>` | |
  149. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  150. | :ref:`float<class_float>` | :ref:`scale_amount_max<class_CPUParticles3D_property_scale_amount_max>` | ``1.0`` |
  151. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  152. | :ref:`float<class_float>` | :ref:`scale_amount_min<class_CPUParticles3D_property_scale_amount_min>` | ``1.0`` |
  153. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  154. | :ref:`Curve<class_Curve>` | :ref:`scale_curve_x<class_CPUParticles3D_property_scale_curve_x>` | |
  155. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  156. | :ref:`Curve<class_Curve>` | :ref:`scale_curve_y<class_CPUParticles3D_property_scale_curve_y>` | |
  157. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  158. | :ref:`Curve<class_Curve>` | :ref:`scale_curve_z<class_CPUParticles3D_property_scale_curve_z>` | |
  159. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  160. | :ref:`float<class_float>` | :ref:`speed_scale<class_CPUParticles3D_property_speed_scale>` | ``1.0`` |
  161. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  162. | :ref:`bool<class_bool>` | :ref:`split_scale<class_CPUParticles3D_property_split_scale>` | ``false`` |
  163. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  164. | :ref:`float<class_float>` | :ref:`spread<class_CPUParticles3D_property_spread>` | ``45.0`` |
  165. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  166. | :ref:`Curve<class_Curve>` | :ref:`tangential_accel_curve<class_CPUParticles3D_property_tangential_accel_curve>` | |
  167. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  168. | :ref:`float<class_float>` | :ref:`tangential_accel_max<class_CPUParticles3D_property_tangential_accel_max>` | ``0.0`` |
  169. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  170. | :ref:`float<class_float>` | :ref:`tangential_accel_min<class_CPUParticles3D_property_tangential_accel_min>` | ``0.0`` |
  171. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  172. | :ref:`AABB<class_AABB>` | :ref:`visibility_aabb<class_CPUParticles3D_property_visibility_aabb>` | ``AABB(0, 0, 0, 0, 0, 0)`` |
  173. +---------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------------+
  174. .. rst-class:: classref-reftable-group
  175. Methods
  176. -------
  177. .. table::
  178. :widths: auto
  179. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  180. | |void| | :ref:`convert_from_particles<class_CPUParticles3D_method_convert_from_particles>`\ (\ particles\: :ref:`Node<class_Node>`\ ) |
  181. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  182. | :ref:`Curve<class_Curve>` | :ref:`get_param_curve<class_CPUParticles3D_method_get_param_curve>`\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const| |
  183. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  184. | :ref:`float<class_float>` | :ref:`get_param_max<class_CPUParticles3D_method_get_param_max>`\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const| |
  185. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  186. | :ref:`float<class_float>` | :ref:`get_param_min<class_CPUParticles3D_method_get_param_min>`\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const| |
  187. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  188. | :ref:`bool<class_bool>` | :ref:`get_particle_flag<class_CPUParticles3D_method_get_particle_flag>`\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`\ ) |const| |
  189. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  190. | |void| | :ref:`restart<class_CPUParticles3D_method_restart>`\ (\ ) |
  191. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  192. | |void| | :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>`\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ ) |
  193. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  194. | |void| | :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ ) |
  195. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  196. | |void| | :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ ) |
  197. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  198. | |void| | :ref:`set_particle_flag<class_CPUParticles3D_method_set_particle_flag>`\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`, enable\: :ref:`bool<class_bool>`\ ) |
  199. +---------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  200. .. rst-class:: classref-section-separator
  201. ----
  202. .. rst-class:: classref-descriptions-group
  203. Signals
  204. -------
  205. .. _class_CPUParticles3D_signal_finished:
  206. .. rst-class:: classref-signal
  207. **finished**\ (\ ) :ref:`๐Ÿ”—<class_CPUParticles3D_signal_finished>`
  208. Emitted when all active particles have finished processing. When :ref:`one_shot<class_CPUParticles3D_property_one_shot>` is disabled, particles will process continuously, so this is never emitted.
  209. .. rst-class:: classref-section-separator
  210. ----
  211. .. rst-class:: classref-descriptions-group
  212. Enumerations
  213. ------------
  214. .. _enum_CPUParticles3D_DrawOrder:
  215. .. rst-class:: classref-enumeration
  216. enum **DrawOrder**: :ref:`๐Ÿ”—<enum_CPUParticles3D_DrawOrder>`
  217. .. _class_CPUParticles3D_constant_DRAW_ORDER_INDEX:
  218. .. rst-class:: classref-enumeration-constant
  219. :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>` **DRAW_ORDER_INDEX** = ``0``
  220. Particles are drawn in the order emitted.
  221. .. _class_CPUParticles3D_constant_DRAW_ORDER_LIFETIME:
  222. .. rst-class:: classref-enumeration-constant
  223. :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>` **DRAW_ORDER_LIFETIME** = ``1``
  224. Particles are drawn in order of remaining lifetime. In other words, the particle with the highest lifetime is drawn at the front.
  225. .. _class_CPUParticles3D_constant_DRAW_ORDER_VIEW_DEPTH:
  226. .. rst-class:: classref-enumeration-constant
  227. :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>` **DRAW_ORDER_VIEW_DEPTH** = ``2``
  228. Particles are drawn in order of depth.
  229. .. rst-class:: classref-item-separator
  230. ----
  231. .. _enum_CPUParticles3D_Parameter:
  232. .. rst-class:: classref-enumeration
  233. enum **Parameter**: :ref:`๐Ÿ”—<enum_CPUParticles3D_Parameter>`
  234. .. _class_CPUParticles3D_constant_PARAM_INITIAL_LINEAR_VELOCITY:
  235. .. rst-class:: classref-enumeration-constant
  236. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_INITIAL_LINEAR_VELOCITY** = ``0``
  237. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set initial velocity properties.
  238. .. _class_CPUParticles3D_constant_PARAM_ANGULAR_VELOCITY:
  239. .. rst-class:: classref-enumeration-constant
  240. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_ANGULAR_VELOCITY** = ``1``
  241. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set angular velocity properties.
  242. .. _class_CPUParticles3D_constant_PARAM_ORBIT_VELOCITY:
  243. .. rst-class:: classref-enumeration-constant
  244. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_ORBIT_VELOCITY** = ``2``
  245. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set orbital velocity properties.
  246. .. _class_CPUParticles3D_constant_PARAM_LINEAR_ACCEL:
  247. .. rst-class:: classref-enumeration-constant
  248. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_LINEAR_ACCEL** = ``3``
  249. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set linear acceleration properties.
  250. .. _class_CPUParticles3D_constant_PARAM_RADIAL_ACCEL:
  251. .. rst-class:: classref-enumeration-constant
  252. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_RADIAL_ACCEL** = ``4``
  253. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set radial acceleration properties.
  254. .. _class_CPUParticles3D_constant_PARAM_TANGENTIAL_ACCEL:
  255. .. rst-class:: classref-enumeration-constant
  256. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_TANGENTIAL_ACCEL** = ``5``
  257. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set tangential acceleration properties.
  258. .. _class_CPUParticles3D_constant_PARAM_DAMPING:
  259. .. rst-class:: classref-enumeration-constant
  260. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_DAMPING** = ``6``
  261. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set damping properties.
  262. .. _class_CPUParticles3D_constant_PARAM_ANGLE:
  263. .. rst-class:: classref-enumeration-constant
  264. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_ANGLE** = ``7``
  265. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set angle properties.
  266. .. _class_CPUParticles3D_constant_PARAM_SCALE:
  267. .. rst-class:: classref-enumeration-constant
  268. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_SCALE** = ``8``
  269. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set scale properties.
  270. .. _class_CPUParticles3D_constant_PARAM_HUE_VARIATION:
  271. .. rst-class:: classref-enumeration-constant
  272. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_HUE_VARIATION** = ``9``
  273. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set hue variation properties.
  274. .. _class_CPUParticles3D_constant_PARAM_ANIM_SPEED:
  275. .. rst-class:: classref-enumeration-constant
  276. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_ANIM_SPEED** = ``10``
  277. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set animation speed properties.
  278. .. _class_CPUParticles3D_constant_PARAM_ANIM_OFFSET:
  279. .. rst-class:: classref-enumeration-constant
  280. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_ANIM_OFFSET** = ``11``
  281. Use with :ref:`set_param_min<class_CPUParticles3D_method_set_param_min>`, :ref:`set_param_max<class_CPUParticles3D_method_set_param_max>`, and :ref:`set_param_curve<class_CPUParticles3D_method_set_param_curve>` to set animation offset properties.
  282. .. _class_CPUParticles3D_constant_PARAM_MAX:
  283. .. rst-class:: classref-enumeration-constant
  284. :ref:`Parameter<enum_CPUParticles3D_Parameter>` **PARAM_MAX** = ``12``
  285. Represents the size of the :ref:`Parameter<enum_CPUParticles3D_Parameter>` enum.
  286. .. rst-class:: classref-item-separator
  287. ----
  288. .. _enum_CPUParticles3D_ParticleFlags:
  289. .. rst-class:: classref-enumeration
  290. enum **ParticleFlags**: :ref:`๐Ÿ”—<enum_CPUParticles3D_ParticleFlags>`
  291. .. _class_CPUParticles3D_constant_PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY:
  292. .. rst-class:: classref-enumeration-constant
  293. :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>` **PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY** = ``0``
  294. Use with :ref:`set_particle_flag<class_CPUParticles3D_method_set_particle_flag>` to set :ref:`particle_flag_align_y<class_CPUParticles3D_property_particle_flag_align_y>`.
  295. .. _class_CPUParticles3D_constant_PARTICLE_FLAG_ROTATE_Y:
  296. .. rst-class:: classref-enumeration-constant
  297. :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>` **PARTICLE_FLAG_ROTATE_Y** = ``1``
  298. Use with :ref:`set_particle_flag<class_CPUParticles3D_method_set_particle_flag>` to set :ref:`particle_flag_rotate_y<class_CPUParticles3D_property_particle_flag_rotate_y>`.
  299. .. _class_CPUParticles3D_constant_PARTICLE_FLAG_DISABLE_Z:
  300. .. rst-class:: classref-enumeration-constant
  301. :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>` **PARTICLE_FLAG_DISABLE_Z** = ``2``
  302. Use with :ref:`set_particle_flag<class_CPUParticles3D_method_set_particle_flag>` to set :ref:`particle_flag_disable_z<class_CPUParticles3D_property_particle_flag_disable_z>`.
  303. .. _class_CPUParticles3D_constant_PARTICLE_FLAG_MAX:
  304. .. rst-class:: classref-enumeration-constant
  305. :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>` **PARTICLE_FLAG_MAX** = ``3``
  306. Represents the size of the :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>` enum.
  307. .. rst-class:: classref-item-separator
  308. ----
  309. .. _enum_CPUParticles3D_EmissionShape:
  310. .. rst-class:: classref-enumeration
  311. enum **EmissionShape**: :ref:`๐Ÿ”—<enum_CPUParticles3D_EmissionShape>`
  312. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_POINT:
  313. .. rst-class:: classref-enumeration-constant
  314. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_POINT** = ``0``
  315. All particles will be emitted from a single point.
  316. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_SPHERE:
  317. .. rst-class:: classref-enumeration-constant
  318. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_SPHERE** = ``1``
  319. Particles will be emitted in the volume of a sphere.
  320. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_SPHERE_SURFACE:
  321. .. rst-class:: classref-enumeration-constant
  322. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_SPHERE_SURFACE** = ``2``
  323. Particles will be emitted on the surface of a sphere.
  324. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_BOX:
  325. .. rst-class:: classref-enumeration-constant
  326. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_BOX** = ``3``
  327. Particles will be emitted in the volume of a box.
  328. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_POINTS:
  329. .. rst-class:: classref-enumeration-constant
  330. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_POINTS** = ``4``
  331. Particles will be emitted at a position chosen randomly among :ref:`emission_points<class_CPUParticles3D_property_emission_points>`. Particle color will be modulated by :ref:`emission_colors<class_CPUParticles3D_property_emission_colors>`.
  332. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_DIRECTED_POINTS:
  333. .. rst-class:: classref-enumeration-constant
  334. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_DIRECTED_POINTS** = ``5``
  335. Particles will be emitted at a position chosen randomly among :ref:`emission_points<class_CPUParticles3D_property_emission_points>`. Particle velocity and rotation will be set based on :ref:`emission_normals<class_CPUParticles3D_property_emission_normals>`. Particle color will be modulated by :ref:`emission_colors<class_CPUParticles3D_property_emission_colors>`.
  336. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_RING:
  337. .. rst-class:: classref-enumeration-constant
  338. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_RING** = ``6``
  339. Particles will be emitted in a ring or cylinder.
  340. .. _class_CPUParticles3D_constant_EMISSION_SHAPE_MAX:
  341. .. rst-class:: classref-enumeration-constant
  342. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **EMISSION_SHAPE_MAX** = ``7``
  343. Represents the size of the :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` enum.
  344. .. rst-class:: classref-section-separator
  345. ----
  346. .. rst-class:: classref-descriptions-group
  347. Property Descriptions
  348. ---------------------
  349. .. _class_CPUParticles3D_property_amount:
  350. .. rst-class:: classref-property
  351. :ref:`int<class_int>` **amount** = ``8`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_amount>`
  352. .. rst-class:: classref-property-setget
  353. - |void| **set_amount**\ (\ value\: :ref:`int<class_int>`\ )
  354. - :ref:`int<class_int>` **get_amount**\ (\ )
  355. Number of particles emitted in one emission cycle.
  356. .. rst-class:: classref-item-separator
  357. ----
  358. .. _class_CPUParticles3D_property_angle_curve:
  359. .. rst-class:: classref-property
  360. :ref:`Curve<class_Curve>` **angle_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_angle_curve>`
  361. .. rst-class:: classref-property-setget
  362. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  363. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  364. Each particle's rotation will be animated along this :ref:`Curve<class_Curve>`.
  365. .. rst-class:: classref-item-separator
  366. ----
  367. .. _class_CPUParticles3D_property_angle_max:
  368. .. rst-class:: classref-property
  369. :ref:`float<class_float>` **angle_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_angle_max>`
  370. .. rst-class:: classref-property-setget
  371. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  372. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  373. Maximum angle.
  374. .. rst-class:: classref-item-separator
  375. ----
  376. .. _class_CPUParticles3D_property_angle_min:
  377. .. rst-class:: classref-property
  378. :ref:`float<class_float>` **angle_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_angle_min>`
  379. .. rst-class:: classref-property-setget
  380. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  381. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  382. Minimum angle.
  383. .. rst-class:: classref-item-separator
  384. ----
  385. .. _class_CPUParticles3D_property_angular_velocity_curve:
  386. .. rst-class:: classref-property
  387. :ref:`Curve<class_Curve>` **angular_velocity_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_angular_velocity_curve>`
  388. .. rst-class:: classref-property-setget
  389. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  390. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  391. Each particle's angular velocity (rotation speed) will vary along this :ref:`Curve<class_Curve>` over its lifetime.
  392. .. rst-class:: classref-item-separator
  393. ----
  394. .. _class_CPUParticles3D_property_angular_velocity_max:
  395. .. rst-class:: classref-property
  396. :ref:`float<class_float>` **angular_velocity_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_angular_velocity_max>`
  397. .. rst-class:: classref-property-setget
  398. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  399. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  400. Maximum initial angular velocity (rotation speed) applied to each particle in *degrees* per second.
  401. .. rst-class:: classref-item-separator
  402. ----
  403. .. _class_CPUParticles3D_property_angular_velocity_min:
  404. .. rst-class:: classref-property
  405. :ref:`float<class_float>` **angular_velocity_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_angular_velocity_min>`
  406. .. rst-class:: classref-property-setget
  407. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  408. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  409. Minimum initial angular velocity (rotation speed) applied to each particle in *degrees* per second.
  410. .. rst-class:: classref-item-separator
  411. ----
  412. .. _class_CPUParticles3D_property_anim_offset_curve:
  413. .. rst-class:: classref-property
  414. :ref:`Curve<class_Curve>` **anim_offset_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_anim_offset_curve>`
  415. .. rst-class:: classref-property-setget
  416. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  417. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  418. Each particle's animation offset will vary along this :ref:`Curve<class_Curve>`.
  419. .. rst-class:: classref-item-separator
  420. ----
  421. .. _class_CPUParticles3D_property_anim_offset_max:
  422. .. rst-class:: classref-property
  423. :ref:`float<class_float>` **anim_offset_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_anim_offset_max>`
  424. .. rst-class:: classref-property-setget
  425. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  426. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  427. Maximum animation offset.
  428. .. rst-class:: classref-item-separator
  429. ----
  430. .. _class_CPUParticles3D_property_anim_offset_min:
  431. .. rst-class:: classref-property
  432. :ref:`float<class_float>` **anim_offset_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_anim_offset_min>`
  433. .. rst-class:: classref-property-setget
  434. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  435. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  436. Minimum animation offset.
  437. .. rst-class:: classref-item-separator
  438. ----
  439. .. _class_CPUParticles3D_property_anim_speed_curve:
  440. .. rst-class:: classref-property
  441. :ref:`Curve<class_Curve>` **anim_speed_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_anim_speed_curve>`
  442. .. rst-class:: classref-property-setget
  443. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  444. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  445. Each particle's animation speed will vary along this :ref:`Curve<class_Curve>`.
  446. .. rst-class:: classref-item-separator
  447. ----
  448. .. _class_CPUParticles3D_property_anim_speed_max:
  449. .. rst-class:: classref-property
  450. :ref:`float<class_float>` **anim_speed_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_anim_speed_max>`
  451. .. rst-class:: classref-property-setget
  452. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  453. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  454. Maximum particle animation speed.
  455. .. rst-class:: classref-item-separator
  456. ----
  457. .. _class_CPUParticles3D_property_anim_speed_min:
  458. .. rst-class:: classref-property
  459. :ref:`float<class_float>` **anim_speed_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_anim_speed_min>`
  460. .. rst-class:: classref-property-setget
  461. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  462. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  463. Minimum particle animation speed.
  464. .. rst-class:: classref-item-separator
  465. ----
  466. .. _class_CPUParticles3D_property_color:
  467. .. rst-class:: classref-property
  468. :ref:`Color<class_Color>` **color** = ``Color(1, 1, 1, 1)`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_color>`
  469. .. rst-class:: classref-property-setget
  470. - |void| **set_color**\ (\ value\: :ref:`Color<class_Color>`\ )
  471. - :ref:`Color<class_Color>` **get_color**\ (\ )
  472. Each particle's initial color.
  473. \ **Note:** :ref:`color<class_CPUParticles3D_property_color>` multiplies the particle mesh's vertex colors. To have a visible effect on a :ref:`BaseMaterial3D<class_BaseMaterial3D>`, :ref:`BaseMaterial3D.vertex_color_use_as_albedo<class_BaseMaterial3D_property_vertex_color_use_as_albedo>` *must* be ``true``. For a :ref:`ShaderMaterial<class_ShaderMaterial>`, ``ALBEDO *= COLOR.rgb;`` must be inserted in the shader's ``fragment()`` function. Otherwise, :ref:`color<class_CPUParticles3D_property_color>` will have no visible effect.
  474. .. rst-class:: classref-item-separator
  475. ----
  476. .. _class_CPUParticles3D_property_color_initial_ramp:
  477. .. rst-class:: classref-property
  478. :ref:`Gradient<class_Gradient>` **color_initial_ramp** :ref:`๐Ÿ”—<class_CPUParticles3D_property_color_initial_ramp>`
  479. .. rst-class:: classref-property-setget
  480. - |void| **set_color_initial_ramp**\ (\ value\: :ref:`Gradient<class_Gradient>`\ )
  481. - :ref:`Gradient<class_Gradient>` **get_color_initial_ramp**\ (\ )
  482. Each particle's initial color will vary along this :ref:`GradientTexture1D<class_GradientTexture1D>` (multiplied with :ref:`color<class_CPUParticles3D_property_color>`).
  483. \ **Note:** :ref:`color_initial_ramp<class_CPUParticles3D_property_color_initial_ramp>` multiplies the particle mesh's vertex colors. To have a visible effect on a :ref:`BaseMaterial3D<class_BaseMaterial3D>`, :ref:`BaseMaterial3D.vertex_color_use_as_albedo<class_BaseMaterial3D_property_vertex_color_use_as_albedo>` *must* be ``true``. For a :ref:`ShaderMaterial<class_ShaderMaterial>`, ``ALBEDO *= COLOR.rgb;`` must be inserted in the shader's ``fragment()`` function. Otherwise, :ref:`color_initial_ramp<class_CPUParticles3D_property_color_initial_ramp>` will have no visible effect.
  484. .. rst-class:: classref-item-separator
  485. ----
  486. .. _class_CPUParticles3D_property_color_ramp:
  487. .. rst-class:: classref-property
  488. :ref:`Gradient<class_Gradient>` **color_ramp** :ref:`๐Ÿ”—<class_CPUParticles3D_property_color_ramp>`
  489. .. rst-class:: classref-property-setget
  490. - |void| **set_color_ramp**\ (\ value\: :ref:`Gradient<class_Gradient>`\ )
  491. - :ref:`Gradient<class_Gradient>` **get_color_ramp**\ (\ )
  492. Each particle's color will vary along this :ref:`GradientTexture1D<class_GradientTexture1D>` over its lifetime (multiplied with :ref:`color<class_CPUParticles3D_property_color>`).
  493. \ **Note:** :ref:`color_ramp<class_CPUParticles3D_property_color_ramp>` multiplies the particle mesh's vertex colors. To have a visible effect on a :ref:`BaseMaterial3D<class_BaseMaterial3D>`, :ref:`BaseMaterial3D.vertex_color_use_as_albedo<class_BaseMaterial3D_property_vertex_color_use_as_albedo>` *must* be ``true``. For a :ref:`ShaderMaterial<class_ShaderMaterial>`, ``ALBEDO *= COLOR.rgb;`` must be inserted in the shader's ``fragment()`` function. Otherwise, :ref:`color_ramp<class_CPUParticles3D_property_color_ramp>` will have no visible effect.
  494. .. rst-class:: classref-item-separator
  495. ----
  496. .. _class_CPUParticles3D_property_damping_curve:
  497. .. rst-class:: classref-property
  498. :ref:`Curve<class_Curve>` **damping_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_damping_curve>`
  499. .. rst-class:: classref-property-setget
  500. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  501. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  502. Damping will vary along this :ref:`Curve<class_Curve>`.
  503. .. rst-class:: classref-item-separator
  504. ----
  505. .. _class_CPUParticles3D_property_damping_max:
  506. .. rst-class:: classref-property
  507. :ref:`float<class_float>` **damping_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_damping_max>`
  508. .. rst-class:: classref-property-setget
  509. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  510. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  511. Maximum damping.
  512. .. rst-class:: classref-item-separator
  513. ----
  514. .. _class_CPUParticles3D_property_damping_min:
  515. .. rst-class:: classref-property
  516. :ref:`float<class_float>` **damping_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_damping_min>`
  517. .. rst-class:: classref-property-setget
  518. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  519. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  520. Minimum damping.
  521. .. rst-class:: classref-item-separator
  522. ----
  523. .. _class_CPUParticles3D_property_direction:
  524. .. rst-class:: classref-property
  525. :ref:`Vector3<class_Vector3>` **direction** = ``Vector3(1, 0, 0)`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_direction>`
  526. .. rst-class:: classref-property-setget
  527. - |void| **set_direction**\ (\ value\: :ref:`Vector3<class_Vector3>`\ )
  528. - :ref:`Vector3<class_Vector3>` **get_direction**\ (\ )
  529. Unit vector specifying the particles' emission direction.
  530. .. rst-class:: classref-item-separator
  531. ----
  532. .. _class_CPUParticles3D_property_draw_order:
  533. .. rst-class:: classref-property
  534. :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>` **draw_order** = ``0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_draw_order>`
  535. .. rst-class:: classref-property-setget
  536. - |void| **set_draw_order**\ (\ value\: :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>`\ )
  537. - :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>` **get_draw_order**\ (\ )
  538. Particle draw order. Uses :ref:`DrawOrder<enum_CPUParticles3D_DrawOrder>` values.
  539. .. rst-class:: classref-item-separator
  540. ----
  541. .. _class_CPUParticles3D_property_emission_box_extents:
  542. .. rst-class:: classref-property
  543. :ref:`Vector3<class_Vector3>` **emission_box_extents** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_box_extents>`
  544. .. rst-class:: classref-property-setget
  545. - |void| **set_emission_box_extents**\ (\ value\: :ref:`Vector3<class_Vector3>`\ )
  546. - :ref:`Vector3<class_Vector3>` **get_emission_box_extents**\ (\ )
  547. The rectangle's extents if :ref:`emission_shape<class_CPUParticles3D_property_emission_shape>` is set to :ref:`EMISSION_SHAPE_BOX<class_CPUParticles3D_constant_EMISSION_SHAPE_BOX>`.
  548. .. rst-class:: classref-item-separator
  549. ----
  550. .. _class_CPUParticles3D_property_emission_colors:
  551. .. rst-class:: classref-property
  552. :ref:`PackedColorArray<class_PackedColorArray>` **emission_colors** = ``PackedColorArray()`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_colors>`
  553. .. rst-class:: classref-property-setget
  554. - |void| **set_emission_colors**\ (\ value\: :ref:`PackedColorArray<class_PackedColorArray>`\ )
  555. - :ref:`PackedColorArray<class_PackedColorArray>` **get_emission_colors**\ (\ )
  556. Sets the :ref:`Color<class_Color>`\ s to modulate particles by when using :ref:`EMISSION_SHAPE_POINTS<class_CPUParticles3D_constant_EMISSION_SHAPE_POINTS>` or :ref:`EMISSION_SHAPE_DIRECTED_POINTS<class_CPUParticles3D_constant_EMISSION_SHAPE_DIRECTED_POINTS>`.
  557. \ **Note:** :ref:`emission_colors<class_CPUParticles3D_property_emission_colors>` multiplies the particle mesh's vertex colors. To have a visible effect on a :ref:`BaseMaterial3D<class_BaseMaterial3D>`, :ref:`BaseMaterial3D.vertex_color_use_as_albedo<class_BaseMaterial3D_property_vertex_color_use_as_albedo>` *must* be ``true``. For a :ref:`ShaderMaterial<class_ShaderMaterial>`, ``ALBEDO *= COLOR.rgb;`` must be inserted in the shader's ``fragment()`` function. Otherwise, :ref:`emission_colors<class_CPUParticles3D_property_emission_colors>` will have no visible effect.
  558. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedColorArray<class_PackedColorArray>` for more details.
  559. .. rst-class:: classref-item-separator
  560. ----
  561. .. _class_CPUParticles3D_property_emission_normals:
  562. .. rst-class:: classref-property
  563. :ref:`PackedVector3Array<class_PackedVector3Array>` **emission_normals** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_normals>`
  564. .. rst-class:: classref-property-setget
  565. - |void| **set_emission_normals**\ (\ value\: :ref:`PackedVector3Array<class_PackedVector3Array>`\ )
  566. - :ref:`PackedVector3Array<class_PackedVector3Array>` **get_emission_normals**\ (\ )
  567. Sets the direction the particles will be emitted in when using :ref:`EMISSION_SHAPE_DIRECTED_POINTS<class_CPUParticles3D_constant_EMISSION_SHAPE_DIRECTED_POINTS>`.
  568. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedVector3Array<class_PackedVector3Array>` for more details.
  569. .. rst-class:: classref-item-separator
  570. ----
  571. .. _class_CPUParticles3D_property_emission_points:
  572. .. rst-class:: classref-property
  573. :ref:`PackedVector3Array<class_PackedVector3Array>` **emission_points** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_points>`
  574. .. rst-class:: classref-property-setget
  575. - |void| **set_emission_points**\ (\ value\: :ref:`PackedVector3Array<class_PackedVector3Array>`\ )
  576. - :ref:`PackedVector3Array<class_PackedVector3Array>` **get_emission_points**\ (\ )
  577. Sets the initial positions to spawn particles when using :ref:`EMISSION_SHAPE_POINTS<class_CPUParticles3D_constant_EMISSION_SHAPE_POINTS>` or :ref:`EMISSION_SHAPE_DIRECTED_POINTS<class_CPUParticles3D_constant_EMISSION_SHAPE_DIRECTED_POINTS>`.
  578. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedVector3Array<class_PackedVector3Array>` for more details.
  579. .. rst-class:: classref-item-separator
  580. ----
  581. .. _class_CPUParticles3D_property_emission_ring_axis:
  582. .. rst-class:: classref-property
  583. :ref:`Vector3<class_Vector3>` **emission_ring_axis** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_ring_axis>`
  584. .. rst-class:: classref-property-setget
  585. - |void| **set_emission_ring_axis**\ (\ value\: :ref:`Vector3<class_Vector3>`\ )
  586. - :ref:`Vector3<class_Vector3>` **get_emission_ring_axis**\ (\ )
  587. The axis of the ring when using the emitter :ref:`EMISSION_SHAPE_RING<class_CPUParticles3D_constant_EMISSION_SHAPE_RING>`.
  588. .. rst-class:: classref-item-separator
  589. ----
  590. .. _class_CPUParticles3D_property_emission_ring_height:
  591. .. rst-class:: classref-property
  592. :ref:`float<class_float>` **emission_ring_height** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_ring_height>`
  593. .. rst-class:: classref-property-setget
  594. - |void| **set_emission_ring_height**\ (\ value\: :ref:`float<class_float>`\ )
  595. - :ref:`float<class_float>` **get_emission_ring_height**\ (\ )
  596. The height of the ring when using the emitter :ref:`EMISSION_SHAPE_RING<class_CPUParticles3D_constant_EMISSION_SHAPE_RING>`.
  597. .. rst-class:: classref-item-separator
  598. ----
  599. .. _class_CPUParticles3D_property_emission_ring_inner_radius:
  600. .. rst-class:: classref-property
  601. :ref:`float<class_float>` **emission_ring_inner_radius** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_ring_inner_radius>`
  602. .. rst-class:: classref-property-setget
  603. - |void| **set_emission_ring_inner_radius**\ (\ value\: :ref:`float<class_float>`\ )
  604. - :ref:`float<class_float>` **get_emission_ring_inner_radius**\ (\ )
  605. The inner radius of the ring when using the emitter :ref:`EMISSION_SHAPE_RING<class_CPUParticles3D_constant_EMISSION_SHAPE_RING>`.
  606. .. rst-class:: classref-item-separator
  607. ----
  608. .. _class_CPUParticles3D_property_emission_ring_radius:
  609. .. rst-class:: classref-property
  610. :ref:`float<class_float>` **emission_ring_radius** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_ring_radius>`
  611. .. rst-class:: classref-property-setget
  612. - |void| **set_emission_ring_radius**\ (\ value\: :ref:`float<class_float>`\ )
  613. - :ref:`float<class_float>` **get_emission_ring_radius**\ (\ )
  614. The radius of the ring when using the emitter :ref:`EMISSION_SHAPE_RING<class_CPUParticles3D_constant_EMISSION_SHAPE_RING>`.
  615. .. rst-class:: classref-item-separator
  616. ----
  617. .. _class_CPUParticles3D_property_emission_shape:
  618. .. rst-class:: classref-property
  619. :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **emission_shape** = ``0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_shape>`
  620. .. rst-class:: classref-property-setget
  621. - |void| **set_emission_shape**\ (\ value\: :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>`\ )
  622. - :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` **get_emission_shape**\ (\ )
  623. Particles will be emitted inside this region. See :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` for possible values.
  624. .. rst-class:: classref-item-separator
  625. ----
  626. .. _class_CPUParticles3D_property_emission_sphere_radius:
  627. .. rst-class:: classref-property
  628. :ref:`float<class_float>` **emission_sphere_radius** :ref:`๐Ÿ”—<class_CPUParticles3D_property_emission_sphere_radius>`
  629. .. rst-class:: classref-property-setget
  630. - |void| **set_emission_sphere_radius**\ (\ value\: :ref:`float<class_float>`\ )
  631. - :ref:`float<class_float>` **get_emission_sphere_radius**\ (\ )
  632. The sphere's radius if :ref:`EmissionShape<enum_CPUParticles3D_EmissionShape>` is set to :ref:`EMISSION_SHAPE_SPHERE<class_CPUParticles3D_constant_EMISSION_SHAPE_SPHERE>`.
  633. .. rst-class:: classref-item-separator
  634. ----
  635. .. _class_CPUParticles3D_property_emitting:
  636. .. rst-class:: classref-property
  637. :ref:`bool<class_bool>` **emitting** = ``true`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_emitting>`
  638. .. rst-class:: classref-property-setget
  639. - |void| **set_emitting**\ (\ value\: :ref:`bool<class_bool>`\ )
  640. - :ref:`bool<class_bool>` **is_emitting**\ (\ )
  641. If ``true``, particles are being emitted. :ref:`emitting<class_CPUParticles3D_property_emitting>` can be used to start and stop particles from emitting. However, if :ref:`one_shot<class_CPUParticles3D_property_one_shot>` is ``true`` setting :ref:`emitting<class_CPUParticles3D_property_emitting>` to ``true`` will not restart the emission cycle until after all active particles finish processing. You can use the :ref:`finished<class_CPUParticles3D_signal_finished>` signal to be notified once all active particles finish processing.
  642. .. rst-class:: classref-item-separator
  643. ----
  644. .. _class_CPUParticles3D_property_explosiveness:
  645. .. rst-class:: classref-property
  646. :ref:`float<class_float>` **explosiveness** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_explosiveness>`
  647. .. rst-class:: classref-property-setget
  648. - |void| **set_explosiveness_ratio**\ (\ value\: :ref:`float<class_float>`\ )
  649. - :ref:`float<class_float>` **get_explosiveness_ratio**\ (\ )
  650. How rapidly particles in an emission cycle are emitted. If greater than ``0``, there will be a gap in emissions before the next cycle begins.
  651. .. rst-class:: classref-item-separator
  652. ----
  653. .. _class_CPUParticles3D_property_fixed_fps:
  654. .. rst-class:: classref-property
  655. :ref:`int<class_int>` **fixed_fps** = ``0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_fixed_fps>`
  656. .. rst-class:: classref-property-setget
  657. - |void| **set_fixed_fps**\ (\ value\: :ref:`int<class_int>`\ )
  658. - :ref:`int<class_int>` **get_fixed_fps**\ (\ )
  659. The particle system's frame rate is fixed to a value. For example, changing the value to 2 will make the particles render at 2 frames per second. Note this does not slow down the particle system itself.
  660. .. rst-class:: classref-item-separator
  661. ----
  662. .. _class_CPUParticles3D_property_flatness:
  663. .. rst-class:: classref-property
  664. :ref:`float<class_float>` **flatness** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_flatness>`
  665. .. rst-class:: classref-property-setget
  666. - |void| **set_flatness**\ (\ value\: :ref:`float<class_float>`\ )
  667. - :ref:`float<class_float>` **get_flatness**\ (\ )
  668. Amount of :ref:`spread<class_CPUParticles3D_property_spread>` in Y/Z plane. A value of ``1`` restricts particles to X/Z plane.
  669. .. rst-class:: classref-item-separator
  670. ----
  671. .. _class_CPUParticles3D_property_fract_delta:
  672. .. rst-class:: classref-property
  673. :ref:`bool<class_bool>` **fract_delta** = ``true`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_fract_delta>`
  674. .. rst-class:: classref-property-setget
  675. - |void| **set_fractional_delta**\ (\ value\: :ref:`bool<class_bool>`\ )
  676. - :ref:`bool<class_bool>` **get_fractional_delta**\ (\ )
  677. If ``true``, results in fractional delta calculation which has a smoother particles display effect.
  678. .. rst-class:: classref-item-separator
  679. ----
  680. .. _class_CPUParticles3D_property_gravity:
  681. .. rst-class:: classref-property
  682. :ref:`Vector3<class_Vector3>` **gravity** = ``Vector3(0, -9.8, 0)`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_gravity>`
  683. .. rst-class:: classref-property-setget
  684. - |void| **set_gravity**\ (\ value\: :ref:`Vector3<class_Vector3>`\ )
  685. - :ref:`Vector3<class_Vector3>` **get_gravity**\ (\ )
  686. Gravity applied to every particle.
  687. .. rst-class:: classref-item-separator
  688. ----
  689. .. _class_CPUParticles3D_property_hue_variation_curve:
  690. .. rst-class:: classref-property
  691. :ref:`Curve<class_Curve>` **hue_variation_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_hue_variation_curve>`
  692. .. rst-class:: classref-property-setget
  693. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  694. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  695. Each particle's hue will vary along this :ref:`Curve<class_Curve>`.
  696. .. rst-class:: classref-item-separator
  697. ----
  698. .. _class_CPUParticles3D_property_hue_variation_max:
  699. .. rst-class:: classref-property
  700. :ref:`float<class_float>` **hue_variation_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_hue_variation_max>`
  701. .. rst-class:: classref-property-setget
  702. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  703. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  704. Maximum hue variation.
  705. .. rst-class:: classref-item-separator
  706. ----
  707. .. _class_CPUParticles3D_property_hue_variation_min:
  708. .. rst-class:: classref-property
  709. :ref:`float<class_float>` **hue_variation_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_hue_variation_min>`
  710. .. rst-class:: classref-property-setget
  711. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  712. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  713. Minimum hue variation.
  714. .. rst-class:: classref-item-separator
  715. ----
  716. .. _class_CPUParticles3D_property_initial_velocity_max:
  717. .. rst-class:: classref-property
  718. :ref:`float<class_float>` **initial_velocity_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_initial_velocity_max>`
  719. .. rst-class:: classref-property-setget
  720. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  721. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  722. Maximum value of the initial velocity.
  723. .. rst-class:: classref-item-separator
  724. ----
  725. .. _class_CPUParticles3D_property_initial_velocity_min:
  726. .. rst-class:: classref-property
  727. :ref:`float<class_float>` **initial_velocity_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_initial_velocity_min>`
  728. .. rst-class:: classref-property-setget
  729. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  730. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  731. Minimum value of the initial velocity.
  732. .. rst-class:: classref-item-separator
  733. ----
  734. .. _class_CPUParticles3D_property_lifetime:
  735. .. rst-class:: classref-property
  736. :ref:`float<class_float>` **lifetime** = ``1.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_lifetime>`
  737. .. rst-class:: classref-property-setget
  738. - |void| **set_lifetime**\ (\ value\: :ref:`float<class_float>`\ )
  739. - :ref:`float<class_float>` **get_lifetime**\ (\ )
  740. Amount of time each particle will exist.
  741. .. rst-class:: classref-item-separator
  742. ----
  743. .. _class_CPUParticles3D_property_lifetime_randomness:
  744. .. rst-class:: classref-property
  745. :ref:`float<class_float>` **lifetime_randomness** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_lifetime_randomness>`
  746. .. rst-class:: classref-property-setget
  747. - |void| **set_lifetime_randomness**\ (\ value\: :ref:`float<class_float>`\ )
  748. - :ref:`float<class_float>` **get_lifetime_randomness**\ (\ )
  749. Particle lifetime randomness ratio.
  750. .. rst-class:: classref-item-separator
  751. ----
  752. .. _class_CPUParticles3D_property_linear_accel_curve:
  753. .. rst-class:: classref-property
  754. :ref:`Curve<class_Curve>` **linear_accel_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_linear_accel_curve>`
  755. .. rst-class:: classref-property-setget
  756. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  757. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  758. Each particle's linear acceleration will vary along this :ref:`Curve<class_Curve>`.
  759. .. rst-class:: classref-item-separator
  760. ----
  761. .. _class_CPUParticles3D_property_linear_accel_max:
  762. .. rst-class:: classref-property
  763. :ref:`float<class_float>` **linear_accel_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_linear_accel_max>`
  764. .. rst-class:: classref-property-setget
  765. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  766. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  767. Maximum linear acceleration.
  768. .. rst-class:: classref-item-separator
  769. ----
  770. .. _class_CPUParticles3D_property_linear_accel_min:
  771. .. rst-class:: classref-property
  772. :ref:`float<class_float>` **linear_accel_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_linear_accel_min>`
  773. .. rst-class:: classref-property-setget
  774. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  775. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  776. Minimum linear acceleration.
  777. .. rst-class:: classref-item-separator
  778. ----
  779. .. _class_CPUParticles3D_property_local_coords:
  780. .. rst-class:: classref-property
  781. :ref:`bool<class_bool>` **local_coords** = ``false`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_local_coords>`
  782. .. rst-class:: classref-property-setget
  783. - |void| **set_use_local_coordinates**\ (\ value\: :ref:`bool<class_bool>`\ )
  784. - :ref:`bool<class_bool>` **get_use_local_coordinates**\ (\ )
  785. If ``true``, particles use the parent node's coordinate space (known as local coordinates). This will cause particles to move and rotate along the **CPUParticles3D** node (and its parents) when it is moved or rotated. If ``false``, particles use global coordinates; they will not move or rotate along the **CPUParticles3D** node (and its parents) when it is moved or rotated.
  786. .. rst-class:: classref-item-separator
  787. ----
  788. .. _class_CPUParticles3D_property_mesh:
  789. .. rst-class:: classref-property
  790. :ref:`Mesh<class_Mesh>` **mesh** :ref:`๐Ÿ”—<class_CPUParticles3D_property_mesh>`
  791. .. rst-class:: classref-property-setget
  792. - |void| **set_mesh**\ (\ value\: :ref:`Mesh<class_Mesh>`\ )
  793. - :ref:`Mesh<class_Mesh>` **get_mesh**\ (\ )
  794. The :ref:`Mesh<class_Mesh>` used for each particle. If ``null``, particles will be spheres.
  795. .. rst-class:: classref-item-separator
  796. ----
  797. .. _class_CPUParticles3D_property_one_shot:
  798. .. rst-class:: classref-property
  799. :ref:`bool<class_bool>` **one_shot** = ``false`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_one_shot>`
  800. .. rst-class:: classref-property-setget
  801. - |void| **set_one_shot**\ (\ value\: :ref:`bool<class_bool>`\ )
  802. - :ref:`bool<class_bool>` **get_one_shot**\ (\ )
  803. If ``true``, only one emission cycle occurs. If set ``true`` during a cycle, emission will stop at the cycle's end.
  804. .. rst-class:: classref-item-separator
  805. ----
  806. .. _class_CPUParticles3D_property_orbit_velocity_curve:
  807. .. rst-class:: classref-property
  808. :ref:`Curve<class_Curve>` **orbit_velocity_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_orbit_velocity_curve>`
  809. .. rst-class:: classref-property-setget
  810. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  811. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  812. Each particle's orbital velocity will vary along this :ref:`Curve<class_Curve>`.
  813. .. rst-class:: classref-item-separator
  814. ----
  815. .. _class_CPUParticles3D_property_orbit_velocity_max:
  816. .. rst-class:: classref-property
  817. :ref:`float<class_float>` **orbit_velocity_max** :ref:`๐Ÿ”—<class_CPUParticles3D_property_orbit_velocity_max>`
  818. .. rst-class:: classref-property-setget
  819. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  820. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  821. Maximum orbit velocity.
  822. .. rst-class:: classref-item-separator
  823. ----
  824. .. _class_CPUParticles3D_property_orbit_velocity_min:
  825. .. rst-class:: classref-property
  826. :ref:`float<class_float>` **orbit_velocity_min** :ref:`๐Ÿ”—<class_CPUParticles3D_property_orbit_velocity_min>`
  827. .. rst-class:: classref-property-setget
  828. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  829. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  830. Minimum orbit velocity.
  831. .. rst-class:: classref-item-separator
  832. ----
  833. .. _class_CPUParticles3D_property_particle_flag_align_y:
  834. .. rst-class:: classref-property
  835. :ref:`bool<class_bool>` **particle_flag_align_y** = ``false`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_particle_flag_align_y>`
  836. .. rst-class:: classref-property-setget
  837. - |void| **set_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`, enable\: :ref:`bool<class_bool>`\ )
  838. - :ref:`bool<class_bool>` **get_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`\ ) |const|
  839. Align Y axis of particle with the direction of its velocity.
  840. .. rst-class:: classref-item-separator
  841. ----
  842. .. _class_CPUParticles3D_property_particle_flag_disable_z:
  843. .. rst-class:: classref-property
  844. :ref:`bool<class_bool>` **particle_flag_disable_z** = ``false`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_particle_flag_disable_z>`
  845. .. rst-class:: classref-property-setget
  846. - |void| **set_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`, enable\: :ref:`bool<class_bool>`\ )
  847. - :ref:`bool<class_bool>` **get_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`\ ) |const|
  848. If ``true``, particles will not move on the Z axis.
  849. .. rst-class:: classref-item-separator
  850. ----
  851. .. _class_CPUParticles3D_property_particle_flag_rotate_y:
  852. .. rst-class:: classref-property
  853. :ref:`bool<class_bool>` **particle_flag_rotate_y** = ``false`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_particle_flag_rotate_y>`
  854. .. rst-class:: classref-property-setget
  855. - |void| **set_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`, enable\: :ref:`bool<class_bool>`\ )
  856. - :ref:`bool<class_bool>` **get_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`\ ) |const|
  857. If ``true``, particles rotate around Y axis by :ref:`angle_min<class_CPUParticles3D_property_angle_min>`.
  858. .. rst-class:: classref-item-separator
  859. ----
  860. .. _class_CPUParticles3D_property_preprocess:
  861. .. rst-class:: classref-property
  862. :ref:`float<class_float>` **preprocess** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_preprocess>`
  863. .. rst-class:: classref-property-setget
  864. - |void| **set_pre_process_time**\ (\ value\: :ref:`float<class_float>`\ )
  865. - :ref:`float<class_float>` **get_pre_process_time**\ (\ )
  866. Particle system starts as if it had already run for this many seconds.
  867. .. rst-class:: classref-item-separator
  868. ----
  869. .. _class_CPUParticles3D_property_radial_accel_curve:
  870. .. rst-class:: classref-property
  871. :ref:`Curve<class_Curve>` **radial_accel_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_radial_accel_curve>`
  872. .. rst-class:: classref-property-setget
  873. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  874. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  875. Each particle's radial acceleration will vary along this :ref:`Curve<class_Curve>`.
  876. .. rst-class:: classref-item-separator
  877. ----
  878. .. _class_CPUParticles3D_property_radial_accel_max:
  879. .. rst-class:: classref-property
  880. :ref:`float<class_float>` **radial_accel_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_radial_accel_max>`
  881. .. rst-class:: classref-property-setget
  882. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  883. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  884. Maximum radial acceleration.
  885. .. rst-class:: classref-item-separator
  886. ----
  887. .. _class_CPUParticles3D_property_radial_accel_min:
  888. .. rst-class:: classref-property
  889. :ref:`float<class_float>` **radial_accel_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_radial_accel_min>`
  890. .. rst-class:: classref-property-setget
  891. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  892. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  893. Minimum radial acceleration.
  894. .. rst-class:: classref-item-separator
  895. ----
  896. .. _class_CPUParticles3D_property_randomness:
  897. .. rst-class:: classref-property
  898. :ref:`float<class_float>` **randomness** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_randomness>`
  899. .. rst-class:: classref-property-setget
  900. - |void| **set_randomness_ratio**\ (\ value\: :ref:`float<class_float>`\ )
  901. - :ref:`float<class_float>` **get_randomness_ratio**\ (\ )
  902. Emission lifetime randomness ratio.
  903. .. rst-class:: classref-item-separator
  904. ----
  905. .. _class_CPUParticles3D_property_scale_amount_curve:
  906. .. rst-class:: classref-property
  907. :ref:`Curve<class_Curve>` **scale_amount_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_scale_amount_curve>`
  908. .. rst-class:: classref-property-setget
  909. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  910. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  911. Each particle's scale will vary along this :ref:`Curve<class_Curve>`.
  912. .. rst-class:: classref-item-separator
  913. ----
  914. .. _class_CPUParticles3D_property_scale_amount_max:
  915. .. rst-class:: classref-property
  916. :ref:`float<class_float>` **scale_amount_max** = ``1.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_scale_amount_max>`
  917. .. rst-class:: classref-property-setget
  918. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  919. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  920. Maximum scale.
  921. .. rst-class:: classref-item-separator
  922. ----
  923. .. _class_CPUParticles3D_property_scale_amount_min:
  924. .. rst-class:: classref-property
  925. :ref:`float<class_float>` **scale_amount_min** = ``1.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_scale_amount_min>`
  926. .. rst-class:: classref-property-setget
  927. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  928. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  929. Minimum scale.
  930. .. rst-class:: classref-item-separator
  931. ----
  932. .. _class_CPUParticles3D_property_scale_curve_x:
  933. .. rst-class:: classref-property
  934. :ref:`Curve<class_Curve>` **scale_curve_x** :ref:`๐Ÿ”—<class_CPUParticles3D_property_scale_curve_x>`
  935. .. rst-class:: classref-property-setget
  936. - |void| **set_scale_curve_x**\ (\ value\: :ref:`Curve<class_Curve>`\ )
  937. - :ref:`Curve<class_Curve>` **get_scale_curve_x**\ (\ )
  938. Curve for the scale over life, along the x axis.
  939. .. rst-class:: classref-item-separator
  940. ----
  941. .. _class_CPUParticles3D_property_scale_curve_y:
  942. .. rst-class:: classref-property
  943. :ref:`Curve<class_Curve>` **scale_curve_y** :ref:`๐Ÿ”—<class_CPUParticles3D_property_scale_curve_y>`
  944. .. rst-class:: classref-property-setget
  945. - |void| **set_scale_curve_y**\ (\ value\: :ref:`Curve<class_Curve>`\ )
  946. - :ref:`Curve<class_Curve>` **get_scale_curve_y**\ (\ )
  947. Curve for the scale over life, along the y axis.
  948. .. rst-class:: classref-item-separator
  949. ----
  950. .. _class_CPUParticles3D_property_scale_curve_z:
  951. .. rst-class:: classref-property
  952. :ref:`Curve<class_Curve>` **scale_curve_z** :ref:`๐Ÿ”—<class_CPUParticles3D_property_scale_curve_z>`
  953. .. rst-class:: classref-property-setget
  954. - |void| **set_scale_curve_z**\ (\ value\: :ref:`Curve<class_Curve>`\ )
  955. - :ref:`Curve<class_Curve>` **get_scale_curve_z**\ (\ )
  956. Curve for the scale over life, along the z axis.
  957. .. rst-class:: classref-item-separator
  958. ----
  959. .. _class_CPUParticles3D_property_speed_scale:
  960. .. rst-class:: classref-property
  961. :ref:`float<class_float>` **speed_scale** = ``1.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_speed_scale>`
  962. .. rst-class:: classref-property-setget
  963. - |void| **set_speed_scale**\ (\ value\: :ref:`float<class_float>`\ )
  964. - :ref:`float<class_float>` **get_speed_scale**\ (\ )
  965. Particle system's running speed scaling ratio. A value of ``0`` can be used to pause the particles.
  966. .. rst-class:: classref-item-separator
  967. ----
  968. .. _class_CPUParticles3D_property_split_scale:
  969. .. rst-class:: classref-property
  970. :ref:`bool<class_bool>` **split_scale** = ``false`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_split_scale>`
  971. .. rst-class:: classref-property-setget
  972. - |void| **set_split_scale**\ (\ value\: :ref:`bool<class_bool>`\ )
  973. - :ref:`bool<class_bool>` **get_split_scale**\ (\ )
  974. If set to ``true``, three different scale curves can be specified, one per scale axis.
  975. .. rst-class:: classref-item-separator
  976. ----
  977. .. _class_CPUParticles3D_property_spread:
  978. .. rst-class:: classref-property
  979. :ref:`float<class_float>` **spread** = ``45.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_spread>`
  980. .. rst-class:: classref-property-setget
  981. - |void| **set_spread**\ (\ value\: :ref:`float<class_float>`\ )
  982. - :ref:`float<class_float>` **get_spread**\ (\ )
  983. Each particle's initial direction range from ``+spread`` to ``-spread`` degrees. Applied to X/Z plane and Y/Z planes.
  984. .. rst-class:: classref-item-separator
  985. ----
  986. .. _class_CPUParticles3D_property_tangential_accel_curve:
  987. .. rst-class:: classref-property
  988. :ref:`Curve<class_Curve>` **tangential_accel_curve** :ref:`๐Ÿ”—<class_CPUParticles3D_property_tangential_accel_curve>`
  989. .. rst-class:: classref-property-setget
  990. - |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ )
  991. - :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  992. Each particle's tangential acceleration will vary along this :ref:`Curve<class_Curve>`.
  993. .. rst-class:: classref-item-separator
  994. ----
  995. .. _class_CPUParticles3D_property_tangential_accel_max:
  996. .. rst-class:: classref-property
  997. :ref:`float<class_float>` **tangential_accel_max** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_tangential_accel_max>`
  998. .. rst-class:: classref-property-setget
  999. - |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  1000. - :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  1001. Maximum tangent acceleration.
  1002. .. rst-class:: classref-item-separator
  1003. ----
  1004. .. _class_CPUParticles3D_property_tangential_accel_min:
  1005. .. rst-class:: classref-property
  1006. :ref:`float<class_float>` **tangential_accel_min** = ``0.0`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_tangential_accel_min>`
  1007. .. rst-class:: classref-property-setget
  1008. - |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ )
  1009. - :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const|
  1010. Minimum tangent acceleration.
  1011. .. rst-class:: classref-item-separator
  1012. ----
  1013. .. _class_CPUParticles3D_property_visibility_aabb:
  1014. .. rst-class:: classref-property
  1015. :ref:`AABB<class_AABB>` **visibility_aabb** = ``AABB(0, 0, 0, 0, 0, 0)`` :ref:`๐Ÿ”—<class_CPUParticles3D_property_visibility_aabb>`
  1016. .. rst-class:: classref-property-setget
  1017. - |void| **set_visibility_aabb**\ (\ value\: :ref:`AABB<class_AABB>`\ )
  1018. - :ref:`AABB<class_AABB>` **get_visibility_aabb**\ (\ )
  1019. The :ref:`AABB<class_AABB>` that determines the node's region which needs to be visible on screen for the particle system to be active.
  1020. Grow the box if particles suddenly appear/disappear when the node enters/exits the screen. The :ref:`AABB<class_AABB>` can be grown via code or with the **Particles โ†’ Generate AABB** editor tool.
  1021. .. rst-class:: classref-section-separator
  1022. ----
  1023. .. rst-class:: classref-descriptions-group
  1024. Method Descriptions
  1025. -------------------
  1026. .. _class_CPUParticles3D_method_convert_from_particles:
  1027. .. rst-class:: classref-method
  1028. |void| **convert_from_particles**\ (\ particles\: :ref:`Node<class_Node>`\ ) :ref:`๐Ÿ”—<class_CPUParticles3D_method_convert_from_particles>`
  1029. Sets this node's properties to match a given :ref:`GPUParticles3D<class_GPUParticles3D>` node with an assigned :ref:`ParticleProcessMaterial<class_ParticleProcessMaterial>`.
  1030. .. rst-class:: classref-item-separator
  1031. ----
  1032. .. _class_CPUParticles3D_method_get_param_curve:
  1033. .. rst-class:: classref-method
  1034. :ref:`Curve<class_Curve>` **get_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const| :ref:`๐Ÿ”—<class_CPUParticles3D_method_get_param_curve>`
  1035. Returns the :ref:`Curve<class_Curve>` of the parameter specified by :ref:`Parameter<enum_CPUParticles3D_Parameter>`.
  1036. .. rst-class:: classref-item-separator
  1037. ----
  1038. .. _class_CPUParticles3D_method_get_param_max:
  1039. .. rst-class:: classref-method
  1040. :ref:`float<class_float>` **get_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const| :ref:`๐Ÿ”—<class_CPUParticles3D_method_get_param_max>`
  1041. Returns the maximum value range for the given parameter.
  1042. .. rst-class:: classref-item-separator
  1043. ----
  1044. .. _class_CPUParticles3D_method_get_param_min:
  1045. .. rst-class:: classref-method
  1046. :ref:`float<class_float>` **get_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`\ ) |const| :ref:`๐Ÿ”—<class_CPUParticles3D_method_get_param_min>`
  1047. Returns the minimum value range for the given parameter.
  1048. .. rst-class:: classref-item-separator
  1049. ----
  1050. .. _class_CPUParticles3D_method_get_particle_flag:
  1051. .. rst-class:: classref-method
  1052. :ref:`bool<class_bool>` **get_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`\ ) |const| :ref:`๐Ÿ”—<class_CPUParticles3D_method_get_particle_flag>`
  1053. Returns the enabled state of the given particle flag (see :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>` for options).
  1054. .. rst-class:: classref-item-separator
  1055. ----
  1056. .. _class_CPUParticles3D_method_restart:
  1057. .. rst-class:: classref-method
  1058. |void| **restart**\ (\ ) :ref:`๐Ÿ”—<class_CPUParticles3D_method_restart>`
  1059. Restarts the particle emitter.
  1060. .. rst-class:: classref-item-separator
  1061. ----
  1062. .. _class_CPUParticles3D_method_set_param_curve:
  1063. .. rst-class:: classref-method
  1064. |void| **set_param_curve**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, curve\: :ref:`Curve<class_Curve>`\ ) :ref:`๐Ÿ”—<class_CPUParticles3D_method_set_param_curve>`
  1065. Sets the :ref:`Curve<class_Curve>` of the parameter specified by :ref:`Parameter<enum_CPUParticles3D_Parameter>`.
  1066. .. rst-class:: classref-item-separator
  1067. ----
  1068. .. _class_CPUParticles3D_method_set_param_max:
  1069. .. rst-class:: classref-method
  1070. |void| **set_param_max**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ ) :ref:`๐Ÿ”—<class_CPUParticles3D_method_set_param_max>`
  1071. Sets the maximum value for the given parameter.
  1072. .. rst-class:: classref-item-separator
  1073. ----
  1074. .. _class_CPUParticles3D_method_set_param_min:
  1075. .. rst-class:: classref-method
  1076. |void| **set_param_min**\ (\ param\: :ref:`Parameter<enum_CPUParticles3D_Parameter>`, value\: :ref:`float<class_float>`\ ) :ref:`๐Ÿ”—<class_CPUParticles3D_method_set_param_min>`
  1077. Sets the minimum value for the given parameter.
  1078. .. rst-class:: classref-item-separator
  1079. ----
  1080. .. _class_CPUParticles3D_method_set_particle_flag:
  1081. .. rst-class:: classref-method
  1082. |void| **set_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>`, enable\: :ref:`bool<class_bool>`\ ) :ref:`๐Ÿ”—<class_CPUParticles3D_method_set_particle_flag>`
  1083. Enables or disables the given particle flag (see :ref:`ParticleFlags<enum_CPUParticles3D_ParticleFlags>` for options).
  1084. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  1085. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  1086. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  1087. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  1088. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  1089. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  1090. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  1091. .. |void| replace:: :abbr:`void (No return value.)`