Class: PixelateFilter

PixelateFilter

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

new PixelateFilter (size)

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

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

See:

Extends

  • PIXI.Filter

Members

size PIXI.Point | number<Array> | 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