Difference between revisions of "Particles:setParticleExtra"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
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.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
Particles:setParticleExtra(i,extra)
+
Particles:setParticleExtra(i,extra)
 
</syntaxhighlight>
 
</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 21:54, 21 September 2023