Class: PixelateFilter

PIXI.filters~PixelateFilter

This filter applies a pixelate effect making display objects appear 'blocky'.
originalfilter

new PixelateFilter (size)

Name Type Default Description
size PIXI.Point | Array.<number> | number 10 optional

Either the width/height of the size of the pixels, or square size

See:

Extends

  • PIXI.Filter

Members

size PIXI.Point | Array.<number> | number

This a point that describes the size of the blocks. x is the width of the block and y is the height.

Default Value:
  • 10