|
@@ -5,7 +5,8 @@
|
|
|
</brief_description>
|
|
|
<description>
|
|
|
2D particle node used to create a variety of particle systems and effects. [GPUParticles2D] features an emitter that generates some number of particles at a given rate.
|
|
|
- Use the [code]process_material[/code] property to add a [ParticleProcessMaterial] to configure particle appearance and behavior. Alternatively, you can add a [ShaderMaterial] which will be applied to all particles.
|
|
|
+ Use the [member process_material] property to add a [ParticleProcessMaterial] to configure particle appearance and behavior. Alternatively, you can add a [ShaderMaterial] which will be applied to all particles.
|
|
|
+ 2D particles can optionally collide with [LightOccluder2D] nodes (note: they don't collide with [PhysicsBody2D] nodes).
|
|
|
</description>
|
|
|
<tutorials>
|
|
|
<link title="Particle systems (2D)">$DOCS_URL/tutorials/2d/particle_systems_2d.html</link>
|
|
@@ -42,6 +43,7 @@
|
|
|
Number of particles emitted in one emission cycle.
|
|
|
</member>
|
|
|
<member name="collision_base_size" type="float" setter="set_collision_base_size" getter="get_collision_base_size" default="1.0">
|
|
|
+ Multiplier for particle's collision radius. [code]1.0[/code] corresponds to the size of the sprite.
|
|
|
</member>
|
|
|
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="GPUParticles2D.DrawOrder" default="1">
|
|
|
Particle draw order. Uses [enum DrawOrder] values.
|