summaryrefslogtreecommitdiffstats
path: root/doc/classes/RenderingServer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/RenderingServer.xml')
-rw-r--r--doc/classes/RenderingServer.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml
index 24b409d941..dd279206ab 100644
--- a/doc/classes/RenderingServer.xml
+++ b/doc/classes/RenderingServer.xml
@@ -2627,6 +2627,14 @@
Sets the number of particles to be drawn and allocates the memory for them. Equivalent to [member GPUParticles3D.amount].
</description>
</method>
+ <method name="particles_set_amount_ratio">
+ <return type="void" />
+ <param index="0" name="particles" type="RID" />
+ <param index="1" name="ratio" type="float" />
+ <description>
+ Sets the amount ratio for particles to be emitted. Equivalent to [member GPUParticles3D.amount_ratio].
+ </description>
+ </method>
<method name="particles_set_collision_base_size">
<return type="void" />
<param index="0" name="particles" type="RID" />
@@ -2675,6 +2683,14 @@
Sets the [Transform3D] that will be used by the particles when they first emit.
</description>
</method>
+ <method name="particles_set_emitter_velocity">
+ <return type="void" />
+ <param index="0" name="particles" type="RID" />
+ <param index="1" name="velocity" type="Vector3" />
+ <description>
+ Sets the velocity of a particle node, that will be used by [member ParticleProcessMaterial.inherit_velocity_ratio].
+ </description>
+ </method>
<method name="particles_set_emitting">
<return type="void" />
<param index="0" name="particles" type="RID" />
@@ -2707,6 +2723,14 @@
If [code]true[/code], uses fractional delta which smooths the movement of the particles. Equivalent to [member GPUParticles3D.fract_delta].
</description>
</method>
+ <method name="particles_set_interp_to_end">
+ <return type="void" />
+ <param index="0" name="particles" type="RID" />
+ <param index="1" name="factor" type="float" />
+ <description>
+ Sets the value that informs a [ParticleProcessMaterial] to rush all particles towards the end of their lifetime.
+ </description>
+ </method>
<method name="particles_set_interpolate">
<return type="void" />
<param index="0" name="particles" type="RID" />