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