Difference between revisions of "Particles:setParticleTtl"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
set time to live
+
<translate>set time to live</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Particles:setParticleTtl(i,ttl)
 
  Particles:setParticleTtl(i,ttl)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) index of particle <br/>
+
'''i''': (number) <translate>index of particle</translate> <br/>
'''ttl''': (number) time to live in seconds <br/>
+
'''ttl''': (number) <translate>time to live in seconds</translate> <br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2016.06

Description

set time to live

 Particles:setParticleTtl(i,ttl)

Parameters

i: (number) index of particle
ttl: (number) time to live in seconds