B2.ParticleSystem:createParticleGroup: Difference between revisions

From GiderosMobile
PaulR (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.ParticleSystem|b2.ParticleSystem]]<br/>
'''Class:''' [[Special:MyLanguage/b2.ParticleSystem|b2.ParticleSystem]]<br/>
=== <translate>Description</translate> ===
 
<translate>Create group of multiple particles with same properties, that can be defined in table with:
=== Description ===
"flags"
Creates a group of multiple particles with same properties, that can be defined in table with:
"groupFlags"
*''flags''
"position"
*''groupFlags''
"angle"
*''position''
"linearVelocity"
*''angle''
"angularVelocity"
*''linearVelocity''
"color"
*''angularVelocity''
"alpha"
*''color''
"strength"
*''alpha''
"shape"
*''strength''
"lifetime"</translate>
*''shape''
*''lifetime''
<source lang="lua">
<source lang="lua">
  b2.ParticleSystem:createParticleGroup(particleGroupDef)
  b2.ParticleSystem:createParticleGroup(particleGroupDef)
</source>
</source>
=== <translate>Parameters</translate> ===
 
'''particleGroupDef''': (table) <translate>table with particle group data</translate> <br/>
=== Parameters ===
'''particleGroupDef''': (table) table with particle group data <br/>
 
{{B2.ParticleSystem}}

Revision as of 19:24, 17 February 2020