ToneSprite Class
The sprite which changes the screen color in 2D canvas mode.
Methods
reset ()
Clears the tone.
setTone ( r , g , b , gray )
Sets 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)
-
grayNumberThe grayscale level in the range (0, 255)