combowomb0 Posted June 10, 2020 Share Posted June 10, 2020 i have a Container of many Graphics, some of them are hidden (visible = false) renderer.generateTexture returns a texture consisting only of visible objects... Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 10, 2020 Share Posted June 10, 2020 (edited) visible=false breaks many things. If you want to fix it, go and make your own container render logic. Maybe use (renderable=false) instead. Maybe make them visible for that duration. Anyway, clone pixi, look in Container sources, solve your problem by overriding that stuff like "PIXI.Container.prototype.functionIDoNotLike = ..." PixiJS is not a black box. Most of container stuff are just single FOR's. Edited June 10, 2020 by ivan.popelyshev combowomb0 1 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.