2
0
Эх сурвалжийг харах

Explain parameter usage in GPUParticles3D.xml and GPUParticles2D.xml

Co-Authored-By: A Thousand Ships <[email protected]>
thmasn 1 жил өмнө
parent
commit
def5545b39

+ 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">