Class: ToneFilter

ToneFilter()

new ToneFilter()

The color matrix filter for WebGL.

Extends

  • PIXI.Filter

Methods

adjustHue(value)

Changes the hue.
Parameters:
Name Type Description
value Number The hue value in the range (-360, 360)

adjustSaturation(value)

Changes the saturation.
Parameters:
Name Type Description
value Number The saturation value in the range (-255, 255)

adjustTone(r, g, b)

Changes the tone.
Parameters:
Name Type Description
r Number The red strength in the range (-255, 255)
g Number The green strength in the range (-255, 255)
b Number The blue strength in the range (-255, 255)