Create MaskData
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
maskObject |
PIXI.DisplayObject |
<optional> |
null |
object that describes the mask |
Members
_scissorRect PIXI.Rectangle
Scissor operation above the mask in stack. Null if _scissorCounter is zero, rectangle instance if positive.
- Default Value:
- undefined
Whether we know the mask type beforehand
- Default Value:
- true
Indicator of the type
- Default Value:
- true
maskObject PIXI.DisplayObject
Which element we use to mask
multisample PIXI.MSAA_QUALITY
Number of samples of the sprite mask filter.
If set to null
, the sample count of the current render target is used.
- Default Value:
- {PIXI.settings.FILTER_MULTISAMPLE}
Whether it belongs to MaskSystem pool
- Default Value:
- false
Resolution of the sprite mask filter.
If set to null
or 0
, the resolution of the current render target is used.
- Default Value:
- undefined
type PIXI.MASK_TYPES
Mask type
Methods
copies counters from maskData above, called from pushMask()
Name | Type | Attributes | Description |
---|---|---|---|
maskAbove |
PIXI.MaskData | unknown |
<optional> |
resets the mask data after popMask()