class_cpuparticles3d.rst 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919
  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.)`