Difference between revisions of "Particles:getParticleColor"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2016.06<br/> | + | '''<translate>Available since</translate>:''' Gideros 2016.06<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Get color and alpha value of particle</translate> | <translate>Get color and alpha value of particle</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
(color), (alpha) = Particles:getParticleColor(i) | (color), (alpha) = Particles:getParticleColor(i) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''i''': (number) <translate>particle index</translate> <br/> | '''i''': (number) <translate>particle index</translate> <br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (color) <translate>color value</translate><br/> | + | '''<translate>Returns</translate>''' (color) <translate>color value</translate><br/> |
− | '''Returns''' (alpha) <translate>alpha value from 0 to 1</translate><br/> | + | '''<translate>Returns</translate>''' (alpha) <translate>alpha value from 0 to 1</translate><br/> |
Revision as of 07:28, 24 August 2018
Available since: Gideros 2016.06
Description
Get color and alpha value of particle
(color), (alpha) = Particles:getParticleColor(i)
Parameters
i: (number) particle index
Return values
Returns (color) color value
Returns (alpha) alpha value from 0 to 1