diff options
Diffstat (limited to 'doc/classes/CPUParticles2D.xml')
-rw-r--r-- | doc/classes/CPUParticles2D.xml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/classes/CPUParticles2D.xml b/doc/classes/CPUParticles2D.xml index dacdca1cee..64e9310181 100644 --- a/doc/classes/CPUParticles2D.xml +++ b/doc/classes/CPUParticles2D.xml @@ -13,33 +13,33 @@ <methods> <method name="convert_from_particles"> <return type="void" /> - <argument index="0" name="particles" type="Node" /> + <param 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_curve" qualifiers="const"> <return type="Curve" /> - <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> + <param 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_max" qualifiers="const"> <return type="float" /> - <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> + <param index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> <description> </description> </method> <method name="get_param_min" qualifiers="const"> <return type="float" /> - <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> + <param index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> <description> </description> </method> <method name="get_particle_flag" qualifiers="const"> <return type="bool" /> - <argument index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags" /> + <param 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> @@ -52,30 +52,30 @@ </method> <method name="set_param_curve"> <return type="void" /> - <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> - <argument index="1" name="curve" type="Curve" /> + <param index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> + <param index="1" name="curve" type="Curve" /> <description> Sets the [Curve] of the parameter specified by [enum Parameter]. </description> </method> <method name="set_param_max"> <return type="void" /> - <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> - <argument index="1" name="value" type="float" /> + <param index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> + <param index="1" name="value" type="float" /> <description> </description> </method> <method name="set_param_min"> <return type="void" /> - <argument index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> - <argument index="1" name="value" type="float" /> + <param index="0" name="param" type="int" enum="CPUParticles2D.Parameter" /> + <param index="1" name="value" type="float" /> <description> </description> </method> <method name="set_particle_flag"> <return type="void" /> - <argument index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags" /> - <argument index="1" name="enable" type="bool" /> + <param index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags" /> + <param index="1" name="enable" type="bool" /> <description> Enables or disables the given flag (see [enum ParticleFlags] for options). </description> @@ -192,8 +192,8 @@ </member> <member name="linear_accel_min" type="float" setter="set_param_min" getter="get_param_min" default="0.0"> </member> - <member name="local_coords" type="bool" setter="set_use_local_coordinates" getter="get_use_local_coordinates" default="true"> - If [code]true[/code], particles use the parent node's coordinate space. If [code]false[/code], they use global coordinates. + <member name="local_coords" type="bool" setter="set_use_local_coordinates" getter="get_use_local_coordinates" default="false"> + If [code]true[/code], particles use the parent node's coordinate space (known as local coordinates). This will cause particles to move and rotate along the [CPUParticles2D] node (and its parents) when it is moved or rotated. If [code]false[/code], particles use global coordinates; they will not move or rotate along the [CPUParticles2D] node (and its parents) when it is moved or rotated. </member> <member name="one_shot" type="bool" setter="set_one_shot" getter="get_one_shot" default="false"> If [code]true[/code], only one emission cycle occurs. If set [code]true[/code] during a cycle, emission will stop at the cycle's end. |