Create MaskData
Optional
maskObject: IMaskTargetobject that describes the mask
Whether we know the mask type beforehand
Color mask.
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.
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.
Mask type
The sprite mask filter.
If set to null
, the default sprite mask filter is used.
Component for masked elements.
Holds mask mode and temporary data about current mask.
Memberof
PIXI