Particles:setTexture: Difference between revisions

From GiderosMobile
mNo edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
=== Description ===
=== Description ===
Sets a texture to all particles.
Sets a texture to all particles.
<source lang="lua">
<syntaxhighlight lang="lua">
Particles:setTexture(texture)
Particles:setTexture(texture,slot)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===
'''texture''': (TextureBase) texture to use in particles<br/>
'''texture''': (TextureBase) texture to use in particles<br/>
'''slot''': (number) the texture slot that the texture should be associated to. Leave empty or set to 0 for main texture, or if you don't use a specific shader '''optional''' (Since Gideros 2022.5)<br/>


{{Particles}}
{{Particles}}

Latest revision as of 13:32, 13 July 2023