B2.ParticleSystem:setTexture

From GiderosMobile
Revision as of 10:44, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2015.06.30

Description

Sets texture to particles in this system

 b2.ParticleSystem:setTexture(texture,size)

Parameters

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