Parcourir la source

Merge pull request #85717 from thmasn/master

Explain parameter usage in GPUParticles3D and GPUParticles2D
Yuri Sizov il y a 1 an
Parent
commit
7798ea773b
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      doc/classes/GPUParticles2D.xml
  2. 1 0
      doc/classes/GPUParticles3D.xml

+ 1 - 0
doc/classes/GPUParticles2D.xml

@@ -37,6 +37,7 @@
 			<param index="4" name="flags" type="int" />
 			<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].
+				The default ParticleProcessMaterial will overwrite [param color] and use the contents of [param custom] as [code](rotation, age, animation, lifetime)[/code].
 			</description>
 		</method>
 		<method name="restart">

+ 1 - 0
doc/classes/GPUParticles3D.xml

@@ -35,6 +35,7 @@
 			<param index="4" name="flags" type="int" />
 			<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].
+				The default ParticleProcessMaterial will overwrite [param color] and use the contents of [param custom] as [code](rotation, age, animation, lifetime)[/code].
 			</description>
 		</method>
 		<method name="get_draw_pass_mesh" qualifiers="const">