Class: BloomFilter

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 Attributes Default Description
blur number | PIXI.Point | Array<number> <optional>
2

Sets the strength of both the blurX and blurY properties simultaneously

quality number <optional>
4

The quality of the blurX & blurY filter.

resolution number <optional>
PIXI.settings.FILTER_RESOLUTION

The resolution of the blurX & blurY filter.

kernelSize number <optional>
5

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