B2.ParticleSystem:setTexture

From GiderosMobile
Revision as of 10:03, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2015.06.30<br/> === Description === Sets texture to particles in this system <source lang="lua"> = b2.ParticleSystem:setTexture(textur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2015.06.30

Description

Sets texture to particles in this system

= b2.ParticleSystem:setTexture(texturesize,)

'texture: (Texture) texture to use for particles '
size: (Number) Size of particle. Default the same size as physics particle size. Use a larger size to let particles visuals overlap each other. optional