Difference between revisions of "Particles:setParticleTag"

From GiderosMobile
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' in development<br/>
 
'''Available since:''' in development<br/>
 +
'''Class:''' [[Particles]]<br/>
 +
 
=== Description ===
 
=== Description ===
set the tag associated to the given particle.
+
Sets the tag associated to the given particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Particles:setParticleTag(i,tag)
+
Particles:setParticleTag(i,tag)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) particle index <br/>
+
'''i''': (number) particle index<br/>
'''tag''': (string) tag to associate to this particle <br/>
+
'''tag''': (string) tag to associate to this particle<br/>
 +
 
 +
{{Particles}}

Latest revision as of 20:58, 21 September 2023