PIXI.filters.DotFilter
class DotFilter extends PIXI.Filter
This filter applies a dotscreen effect making display objects appear to be made out of
black and white halftone dots like an old printer.
Constructor
new PIXI.filters.DotFilter(scale: number, angle: number) → {}
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
scale | number |
<optional> |
1 |
The scale of the effect. |
angle | number |
<optional> |
5 |
The radius of the effect. |
Summary
Properties inherited from Filter
boolean |
|
PIXI.BLEND_MODES |
|
boolean |
If enabled is true the filter is applied, if false it will not. |
boolean |
|
PIXI.MSAA_QUALITY |
The samples of the filter. |
number |
|
number |
|
PIXI.State |
The WebGL state the filter requires to render. |
Properties inherited from Shader
PIXI.Program |
Program that the shader uses. |
Dict<any> |
|
Methods inherited from Filter
void |
|