ToneFilter Class
The color matrix filter for WebGL.
Item Index
MethodsMethods
adjustHue ( value )
Changes the hue.
Parameters:
-
value
NumberThe hue value in the range (-360, 360)
adjustSaturation ( value )
Changes the saturation.
Parameters:
-
value
NumberThe saturation value in the range (-255, 255)
adjustTone ( r , g , b )
Changes the tone.
Parameters:
-
r
NumberThe red strength in the range (-255, 255)
-
g
NumberThe green strength in the range (-255, 255)
-
b
NumberThe blue strength in the range (-255, 255)
reset ()
Resets the filter.