summaryrefslogtreecommitdiff
path: root/doc/classes/CPUParticles2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/CPUParticles2D.xml')
-rw-r--r--doc/classes/CPUParticles2D.xml69
1 files changed, 23 insertions, 46 deletions
diff --git a/doc/classes/CPUParticles2D.xml b/doc/classes/CPUParticles2D.xml
index 22f070b73b..ab6897ca1d 100644
--- a/doc/classes/CPUParticles2D.xml
+++ b/doc/classes/CPUParticles2D.xml
@@ -12,97 +12,74 @@
</tutorials>
<methods>
<method name="convert_from_particles">
- <return type="void">
- </return>
- <argument index="0" name="particles" type="Node">
- </argument>
+ <return type="void" />
+ <argument index="0" name="particles" type="Node" />
<description>
Sets this node's properties to match a given [GPUParticles2D] node with an assigned [ParticlesMaterial].
</description>
</method>
<method name="get_param" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter">
- </argument>
+ <return type="float" />
+ <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" />
<description>
Returns the base value of the parameter specified by [enum Parameter].
</description>
</method>
<method name="get_param_curve" qualifiers="const">
- <return type="Curve">
- </return>
- <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter">
- </argument>
+ <return type="Curve" />
+ <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" />
<description>
Returns the [Curve] of the parameter specified by [enum Parameter].
</description>
</method>
<method name="get_param_randomness" qualifiers="const">
- <return type="float">
- </return>
- <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter">
- </argument>
+ <return type="float" />
+ <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" />
<description>
Returns the randomness factor of the parameter specified by [enum Parameter].
</description>
</method>
<method name="get_particle_flag" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags" />
<description>
Returns the enabled state of the given flag (see [enum ParticleFlags] for options).
</description>
</method>
<method name="restart">
- <return type="void">
- </return>
+ <return type="void" />
<description>
Restarts the particle emitter.
</description>
</method>
<method name="set_param">
- <return type="void">
- </return>
- <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter">
- </argument>
- <argument index="1" name="value" type="float">
- </argument>
+ <return type="void" />
+ <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" />
+ <argument index="1" name="value" type="float" />
<description>
Sets the base value of the parameter specified by [enum Parameter].
</description>
</method>
<method name="set_param_curve">
- <return type="void">
- </return>
- <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter">
- </argument>
- <argument index="1" name="curve" type="Curve">
- </argument>
+ <return type="void" />
+ <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" />
+ <argument index="1" name="curve" type="Curve" />
<description>
Sets the [Curve] of the parameter specified by [enum Parameter].
</description>
</method>
<method name="set_param_randomness">
- <return type="void">
- </return>
- <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter">
- </argument>
- <argument index="1" name="randomness" type="float">
- </argument>
+ <return type="void" />
+ <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" />
+ <argument index="1" name="randomness" type="float" />
<description>
Sets the randomness factor of the parameter specified by [enum Parameter].
</description>
</method>
<method name="set_particle_flag">
- <return type="void">
- </return>
- <argument index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags">
- </argument>
- <argument index="1" name="enable" type="bool">
- </argument>
+ <return type="void" />
+ <argument index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags" />
+ <argument index="1" name="enable" type="bool" />
<description>
Enables or disables the given flag (see [enum ParticleFlags] for options).
</description>