Class: BloomFilter

PIXI.filters~BloomFilter

The BloomFilter applies a Gaussian blur to an object. The strength of the blur can be set for x- and y-axis separately.
originalfilter

new BloomFilter (blur, quality, resolution, kernelSize)

Name Type Default Description
blur number | PIXI.Point | Array.<number> 2 optional

Sets the strength of both the blurX and blurY properties simultaneously

quality number 4 optional

The quality of the blurX & blurY filter.

resolution number PIXI.settings.FILTER_RESOLUTION optional

The resolution of the blurX & blurY filter.

kernelSize number 5 optional

The kernelSize of the blurX & blurY filter.Options: 5, 7, 9, 11, 13, 15.

See:

Extends

  • PIXI.Filter

Members

blur number

Sets the strength of both the blurX and blurY properties simultaneously

Default Value:
  • 2

blurX number

Sets the strength of the blurX property

Default Value:
  • 2

blurY number

Sets the strength of the blurY property

Default Value:
  • 2