From c4dfef58d9cca9d9112f5f8d8db9dcc1bd9dfaae Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Sun, 3 Jun 2018 11:45:30 +1000 Subject: [PATCH] Added some documentation to particles --- doc/classes/Particles.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/classes/Particles.xml b/doc/classes/Particles.xml index 04177aca259..b03cf6cadb8 100644 --- a/doc/classes/Particles.xml +++ b/doc/classes/Particles.xml @@ -22,6 +22,7 @@ + Restarts the particle emmission, clearing existing particles. @@ -33,14 +34,19 @@ Particle draw order. Uses [code]DRAW_ORDER_*[/code] values. Default value: [code]DRAW_ORDER_INDEX[/code]. + [Mesh] that is drawn for the first draw pass. + [Mesh] that is drawn for the second draw pass. + [Mesh] that is drawn for the third draw pass. + [Mesh] that is drawn for the fourth draw pass. + The number of draw passes when rendering particles. If [code]true[/code] particles are being emitted. Default value: [code]true[/code]. @@ -62,6 +68,7 @@ If [code]true[/code] only [code]amount[/code] particles will be emitted. Default value: [code]false[/code]. + Amount of time to preprocess the particles before animation starts. Lets you start the animation some time after particles have started emitting. [Material] for processing particles. Can be a [ParticlesMaterial] or a [ShaderMaterial]. @@ -73,6 +80,7 @@ Speed scaling ratio. Default value: [code]1[/code]. + The [AABB] that determines the area of the world part of which needs to be visible on screen for the particle system to be active. @@ -86,6 +94,7 @@ Particles are drawn in order of depth. + Maximum number of draw passes supported.