Particles:setTexture: Difference between revisions

From GiderosMobile
mNo edit summary
No edit summary
Line 6: Line 6:
Sets a texture to all particles.
Sets a texture to all particles.
<source lang="lua">
<source lang="lua">
Particles:setTexture(texture)
Particles:setTexture(texture,slot)
</source>
</source>


=== 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}}

Revision as of 12:50, 25 April 2022