Merge pull request #85717 from thmasn/master

Explain parameter usage in GPUParticles3D and GPUParticles2D
This commit is contained in:
Yuri Sizov 2023-12-08 16:58:34 +01:00
commit 7798ea773b
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@
<param index="4" name="flags" type="int" /> <param index="4" name="flags" type="int" />
<description> <description>
Emits a single particle. Whether [param xform], [param velocity], [param color] and [param custom] are applied depends on the value of [param flags]. See [enum EmitFlags]. Emits a single particle. Whether [param xform], [param velocity], [param color] and [param custom] are applied depends on the value of [param flags]. See [enum EmitFlags].
The default ParticleProcessMaterial will overwrite [param color] and use the contents of [param custom] as [code](rotation, age, animation, lifetime)[/code].
</description> </description>
</method> </method>
<method name="restart"> <method name="restart">

View File

@ -35,6 +35,7 @@
<param index="4" name="flags" type="int" /> <param index="4" name="flags" type="int" />
<description> <description>
Emits a single particle. Whether [param xform], [param velocity], [param color] and [param custom] are applied depends on the value of [param flags]. See [enum EmitFlags]. Emits a single particle. Whether [param xform], [param velocity], [param color] and [param custom] are applied depends on the value of [param flags]. See [enum EmitFlags].
The default ParticleProcessMaterial will overwrite [param color] and use the contents of [param custom] as [code](rotation, age, animation, lifetime)[/code].
</description> </description>
</method> </method>
<method name="get_draw_pass_mesh" qualifiers="const"> <method name="get_draw_pass_mesh" qualifiers="const">