Difference between revisions of "Particles:setParticleExtra"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2022.5<br/> '''<translate>Class</translate>:''' Particles<br/> =...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2022.5<br/>
'''<translate>Available since</translate>:''' Gideros 2022.5<br/>
+
'''Class:''' [[Particles]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>set the extra value to be sent to the shader</translate>
+
Sets the extra value to be sent to the shader.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Particles:setParticleExtra(i,extra)
+
Particles:setParticleExtra(i,extra)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>index of particle</translate> <br/>
+
=== Parameters ===
'''extra''': (number) <translate>extra value for this particle</translate> <br/>
+
'''i''': (number) index of particle<br/>
 +
'''extra''': (number) extra value for this particle<br/>
  
 
{{Particles}}
 
{{Particles}}

Latest revision as of 20:54, 21 September 2023