Yacine_Tz Posted March 21, 2023 Share Posted March 21, 2023 Hello, I'm a new Pixi.js developer and I'm wondering what is exactly a mask container in Pixi.js library ? Could you give me definition, please ? Regards YT Quote Link to comment Share on other sites More sharing options...
KreNtal Posted March 22, 2023 Share Posted March 22, 2023 From Pixi documentation: Quote A mask is an object that limits the visibility of an object to the shape of the mask applied to it. In PixiJS a regular mask must be a PIXI.Graphics or a PIXI.Sprite object. This allows for much faster masking in canvas as it utilities shape clipping. 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.