From 789713b00883e7c9d3a912d1b088441ab17c1244 Mon Sep 17 00:00:00 2001 From: reduz Date: Thu, 20 May 2021 11:25:06 -0300 Subject: Support for 2D particles to collide against SDF -Added SDF collision support for 2D particles -Changed the SDF generation to be fully signed --- doc/classes/GPUParticles2D.xml | 16 ++++++++++++++-- doc/classes/GPUParticles3D.xml | 6 ++++-- doc/classes/ParticlesMaterial.xml | 2 +- doc/classes/RenderingServer.xml | 2 +- 4 files changed, 20 insertions(+), 6 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/GPUParticles2D.xml b/doc/classes/GPUParticles2D.xml index ebe4e3b00d..ebd6d2b92c 100644 --- a/doc/classes/GPUParticles2D.xml +++ b/doc/classes/GPUParticles2D.xml @@ -31,7 +31,9 @@ Number of particles emitted in one emission cycle. - + + + Particle draw order. Uses [enum DrawOrder] values. @@ -40,7 +42,7 @@ How rapidly particles in an emission cycle are emitted. If greater than [code]0[/code], there will be a gap in emissions before the next cycle begins. - + The particle system's frame rate is fixed to a value. For instance, changing the value to 2 will make the particles render at 2 frames per second. Note this does not slow down the simulation of the particle system itself. @@ -70,6 +72,14 @@ Particle texture. If [code]null[/code], particles will be squares. + + + + + + + + The [Rect2] that determines the node's region which needs to be visible on screen for the particle system to be active. Grow the rect if particles suddenly appear/disappear when the node enters/exits the screen. The [Rect2] can be grown via code or with the [b]Particles → Generate Visibility Rect[/b] editor tool. @@ -82,5 +92,7 @@ Particles are drawn in order of remaining lifetime. + + diff --git a/doc/classes/GPUParticles3D.xml b/doc/classes/GPUParticles3D.xml index e5d6581ddc..76f0fdb406 100644 --- a/doc/classes/GPUParticles3D.xml +++ b/doc/classes/GPUParticles3D.xml @@ -126,7 +126,7 @@ - + @@ -144,7 +144,9 @@ Particles are drawn in order of remaining lifetime. - + + + Particles are drawn in order of depth. diff --git a/doc/classes/ParticlesMaterial.xml b/doc/classes/ParticlesMaterial.xml index 6d7f99a55b..3c364b621a 100644 --- a/doc/classes/ParticlesMaterial.xml +++ b/doc/classes/ParticlesMaterial.xml @@ -135,7 +135,7 @@ - + diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 638b0bb297..7a345f726d 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -3388,7 +3388,7 @@ Sort particles based on their lifetime. - + Sort particles based on their distance to the camera. -- cgit v1.2.3