Class: ColorFilter

ColorFilter

new ColorFilter ()

The color filter for WebGL.

Extends

  • PIXI.Filter

Methods

setBlendColor (color)

Sets the blend color.

Name Type Description
color array

The blend color [r, g, b, a].

setBrightness (brightness)

Sets the brightness.

Name Type Description
brightness number

The brightness (0 to 255).

setColorTone (tone)

Sets the color tone.

Name Type Description
tone array

The color tone [r, g, b, gray].

setHue (hue)

Sets the hue rotation value.

Name Type Description
hue number

The hue value (-360, 360).