Class WhiteBalance
java.lang.Object
net.risingworld.api.objects.visuals.WhiteBalance
Post-processing effect: White balance effect. Used in conjunction with a 

White balance used to change the color temperature
PostProcessing object.
 
White balance used to change the color temperature
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
WhiteBalancepublic WhiteBalance()
 
- 
- 
Method Details- 
setpublic void set(float temperature, float tint) Sets the white balance of the screen. To reset the value to the game default value, callreset()- Parameters:
- temperature- the screen color temperature, between -100 and +100. Negative values make the screen appear colder, positive values make the screen appear warmer. Default value is 0.
- tint- optional screen tint color, between -100 and +100. Default value is 0.
 
- 
getTemperaturepublic float getTemperature()
- 
getTintpublic float getTint()
- 
resetpublic void reset()Resets the effect, so it is no longer active (and no longer overrides any game effects).
- 
isOverriddenpublic boolean isOverridden()Determines if the effect is set.- Returns:
- true if this effect was set, false if not (or if it was reset).
 
 
-