From 44292bf77fd20f988d2c69c11e01ef9623ae1b22 Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Tue, 3 Oct 2017 12:30:32 -0700 Subject: [DOCS] Update ParticlesMaterial, Particles class ref --- doc/classes/Particles2D.xml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'doc/classes/Particles2D.xml') diff --git a/doc/classes/Particles2D.xml b/doc/classes/Particles2D.xml index d837d6eb62..b2c63ea0c3 100644 --- a/doc/classes/Particles2D.xml +++ b/doc/classes/Particles2D.xml @@ -1,10 +1,11 @@ - 2D Particle emitter + 2D particle emitter. - Particles2D is a particle system 2D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility bounding box (although helpers to create one automatically exist). + 2D particle node used to create a variety of particle systems and effects. [code]Particles2D[/code] features an emitter that generates some number of particles at a given rate. + Use the [code]process_material[/code] property to add a [ParticlesMaterial] to configure particle appearance and behavior. Alternatively, you can add a [ShaderMaterial] which will be applied to all particles. @@ -285,46 +286,61 @@ + Number of particles to emit. + Particle draw order. Uses [code]DRAW_ORDER_*[/code] values. Default value: [code]DRAW_ORDER_INDEX[/code]. + If [code]true[/code] particles are being emitted. Default value: [code]true[/code]. + Time ratio between each emission. If [code]0[/code] particles are emitted continuously. If [code]1[/code] all particles are emitted simultaneously. Default value: [code]0[/code]. + Number of horizontal frames in [code]texture[/code]. + Amount of time each particle will exist. Default value: [code]1[/code]. + If [code]true[/code] particles use the parent node's coordinate space. If [code]false[/code] they use global coordinates. Default value: [code]true[/code]. + If [code]true[/code] only [code]amount[/code] particles will be emitted. Default value: [code]false[/code]. + [Material] for processing particles. Can be a [ParticlesMaterial] or a [ShaderMaterial]. + Emission randomness ratio. Default value: [code]0[/code]. + Speed scaling ratio. Default value: [code]1[/code]. + Particle texture. If [code]null[/code] particles will be squares. + Number of vertical frames in [code]texture[/code]. + Particles are drawn in the order emitted. + Particles are drawn in order of remaining lifetime. -- cgit v1.2.3