Difference between revisions of "B2.ParticleSystem:setTexture"

From GiderosMobile
(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...")
(No difference)

Revision as of 11:03, 23 August 2018

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