Exca Posted January 14, 2016 Share Posted January 14, 2016 Is it possible to change the properties of particle container? I have a situation where I render around 5000 objects with scale, position, rotation, alpha & uvs. On some devices fps drops below 30 and I would like to change the particlecontainer to stop uploading scale & alpha when that happens. Quote Link to comment Share on other sites More sharing options...
xerver Posted January 14, 2016 Share Posted January 14, 2016 Have you tried the setProperties method? https://github.com/pixijs/pixi.js/blob/master/src/core/particles/ParticleContainer.js#L117-L131 Quote Link to comment Share on other sites More sharing options...
Exca Posted January 14, 2016 Author Share Posted January 14, 2016 Thanks! Somehow I managed to miss that when reading the api. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.