summaryrefslogtreecommitdiff
path: root/doc/classes/GPUParticles3D.xml
diff options
context:
space:
mode:
authorfreeglebarr <freeglebarr@gmail.com>2022-01-24 17:28:59 -0300
committerfreeglebarr <freeglebarr@gmail.com>2022-01-24 17:28:59 -0300
commit6f882945280ddc90a2de4000c1917375af6376e7 (patch)
treeff7bffdb7f025c02a9ba939ae8b8eb5e2de404bf /doc/classes/GPUParticles3D.xml
parent2fbc7de4a0add1afd36d6dedce6ccdaeae27a825 (diff)
ported particle sub-emission to 2D
Diffstat (limited to 'doc/classes/GPUParticles3D.xml')
-rw-r--r--doc/classes/GPUParticles3D.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/GPUParticles3D.xml b/doc/classes/GPUParticles3D.xml
index 771056cb93..62ac846077 100644
--- a/doc/classes/GPUParticles3D.xml
+++ b/doc/classes/GPUParticles3D.xml
@@ -26,6 +26,7 @@
<argument index="3" name="custom" type="Color" />
<argument index="4" name="flags" type="int" />
<description>
+ Emits a single particle. Whether [code]xform[/code], [code]velocity[/code], [code]color[/code] and [code]custom[/code] are applied depends on the value of [code]flags[/code]. See [enum EmitFlags].
</description>
</method>
<method name="get_draw_pass_mesh" qualifiers="const">
@@ -137,14 +138,19 @@
Particles are drawn in order of depth.
</constant>
<constant name="EMIT_FLAG_POSITION" value="1" enum="EmitFlags">
+ Particle starts at the specified position.
</constant>
<constant name="EMIT_FLAG_ROTATION_SCALE" value="2" enum="EmitFlags">
+ Particle starts with specified rotation and scale.
</constant>
<constant name="EMIT_FLAG_VELOCITY" value="4" enum="EmitFlags">
+ Particle starts with the specified velocity vector, which defines the emission direction and speed.
</constant>
<constant name="EMIT_FLAG_COLOR" value="8" enum="EmitFlags">
+ Particle starts with specified color.
</constant>
<constant name="EMIT_FLAG_CUSTOM" value="16" enum="EmitFlags">
+ Particle starts with specificed [code]CUSTOM[/code] data.
</constant>
<constant name="MAX_DRAW_PASSES" value="4">
Maximum number of draw passes supported.