Create MaskData
Optional
maskObject: IMaskTargetobject that describes the mask
Whether we know the mask type beforehand
true
Color mask.
PIXI.COLOR_MASK_BITS
If enabled is true the mask is applied, if false it will not.
Indicator of the type (always true for PIXI.MaskData objects)
Which element we use to mask
Number of samples of the sprite mask filter.
If set to null
, the sample count of the current render target is used.
PIXI.Filter.defaultMultisample
Whether it belongs to MaskSystem pool
Resolution of the sprite mask filter.
If set to null
or 0
, the resolution of the current render target is used.
null
Mask type
The sprite mask filter.
If set to null
, the default sprite mask filter is used.
null
Copies counters from maskData above, called from pushMask().
Optional
maskAbove: MaskDataGenerated using TypeDoc
Component for masked elements.
Holds mask mode and temporary data about current mask.
Memberof
PIXI