Difference between revisions of "Particles:setParticleTag"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === set the tag associated to the given particle. <source lang="lua"> = Particles:setParticleTag(itag,) </...")
 
 
(9 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(itag,)
+
Particles:setParticleTag(i,tag)
</source>
+
</syntaxhighlight>
'''i:''' (number) particle index ''''''<br/>
+
 
'''tag:''' (string) tag to associate to this particle ''''''<br/>
+
=== Parameters ===
 +
'''i''': (number) particle index<br/>
 +
'''tag''': (string) tag to associate to this particle<br/>
 +
 
 +
{{Particles}}

Latest revision as of 20:58, 21 September 2023