From 76e2c87f5779daa556b894b7025e64ecc6e6a5b2 Mon Sep 17 00:00:00 2001 From: Raffaele Picca Date: Sat, 27 Nov 2021 23:28:53 +0100 Subject: Fixed sphere emission shape to emit particles in a spheres volume and added "Sphere Surface" to keep the old behaviour. --- doc/classes/CPUParticles2D.xml | 11 +++++++---- doc/classes/CPUParticles3D.xml | 13 ++++++++----- doc/classes/ParticlesMaterial.xml | 13 ++++++++----- 3 files changed, 23 insertions(+), 14 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/CPUParticles2D.xml b/doc/classes/CPUParticles2D.xml index 0505d8ad36..237a128221 100644 --- a/doc/classes/CPUParticles2D.xml +++ b/doc/classes/CPUParticles2D.xml @@ -310,18 +310,21 @@ All particles will be emitted from a single point. + Particles will be emitted in the volume of a sphere flattened to two dimensions. + + Particles will be emitted on the surface of a sphere flattened to two dimensions. - + Particles will be emitted in the area of a rectangle. - + Particles will be emitted at a position chosen randomly among [member emission_points]. Particle color will be modulated by [member emission_colors]. - + Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors]. - + Represents the size of the [enum EmissionShape] enum. diff --git a/doc/classes/CPUParticles3D.xml b/doc/classes/CPUParticles3D.xml index ad491465f2..08b448d6fa 100644 --- a/doc/classes/CPUParticles3D.xml +++ b/doc/classes/CPUParticles3D.xml @@ -367,19 +367,22 @@ Particles will be emitted in the volume of a sphere. - + + Particles will be emitted on the surface of a sphere. + + Particles will be emitted in the volume of a box. - + Particles will be emitted at a position chosen randomly among [member emission_points]. Particle color will be modulated by [member emission_colors]. - + Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors]. - + Particles will be emitted in a ring or cylinder. - + Represents the size of the [enum EmissionShape] enum. diff --git a/doc/classes/ParticlesMaterial.xml b/doc/classes/ParticlesMaterial.xml index 2cc0d8f2b0..d34a364dcf 100644 --- a/doc/classes/ParticlesMaterial.xml +++ b/doc/classes/ParticlesMaterial.xml @@ -321,19 +321,22 @@ Particles will be emitted in the volume of a sphere. - + + Particles will be emitted on the surface of a sphere. + + Particles will be emitted in the volume of a box. - + Particles will be emitted at a position determined by sampling a random point on the [member emission_point_texture]. Particle color will be modulated by [member emission_color_texture]. - + Particles will be emitted at a position determined by sampling a random point on the [member emission_point_texture]. Particle velocity and rotation will be set based on [member emission_normal_texture]. Particle color will be modulated by [member emission_color_texture]. - + Particles will be emitted in a ring or cylinder. - + Represents the size of the [enum EmissionShape] enum. -- cgit v1.2.3