B2.ParticleSystem:createParticleGroup

From GiderosMobile
Revision as of 18:25, 19 November 2018 by PaulR (talk | contribs)


Available since: Gideros 2011.6
Class: b2.ParticleSystem

Description

Create group of multiple particles with same properties, that can be defined in table with: "flags" "groupFlags" "position" "angle" "linearVelocity" "angularVelocity" "color" "alpha" "strength" "shape" "lifetime"

 b2.ParticleSystem:createParticleGroup(particleGroupDef)

Parameters

particleGroupDef: (table) table with particle group data