LogoPixi’VN
pixi-jsType aliases

Type Alias: MaskChannel

> MaskChannel = "red" | "alpha"

Defined in: node_modules/pixi.js/lib/filters/mask/MaskFilter.d.ts:13

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.

Standard