Klasse Saturation
java.lang.Object
net.risingworld.api.objects.visuals.Saturation
Post-processing effect: Screen color saturation adjustment. Used in conjunction with a
Saturation set to -100 to turn the screen into a grayscale image
PostProcessing
object.
Saturation set to -100 to turn the screen into a grayscale image
-
Konstruktorübersicht
-
Methodenübersicht
-
Konstruktordetails
-
Saturation
public Saturation()
-
-
Methodendetails
-
set
public void set(float value) Sets the saturation of the screen (between -100 and +100). To reset the value to the game default value, callreset()
- Parameter:
value
- a saturation value between -100 and +100
-
reset
public void reset()Resets the effect, so it is no longer active (and no longer overrides any game effects). -
isOverridden
public boolean isOverridden()Determines if the effect is set.- Gibt zurück:
- true if this effect was set, false if not (or if it was reset).
-