pixi.js
Website
GitHub
Discord
Preparing search index...
MaskChannel
Type Alias MaskChannel
MaskChannel
:
"red"
|
"alpha"
The channel to use for masking.
'red'
- Uses the red channel of the mask texture (default). Suitable for grayscale mask textures.
'alpha'
- Uses the alpha channel of the mask texture. Suitable for sprites with transparency.
Settings
Member Visibility
Inherited
Advanced
Theme
OS
Light
Dark
Website
GitHub
Discord
pixi.js
Loading...
The channel to use for masking.
'red'- Uses the red channel of the mask texture (default). Suitable for grayscale mask textures.'alpha'- Uses the alpha channel of the mask texture. Suitable for sprites with transparency.