Klasse ChromaticAberration
java.lang.Object
net.risingworld.api.objects.visuals.ChromaticAberration
Post-processing effect: Chromatic abberation effect (sometimes also called color/scene fringing).
Used in conjunction with a
PostProcessing
object.
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Determines if the effect is set.void
reset()
Resets the effect, so it is no longer active (and no longer overrides any game effects).void
set
(float intensity) Sets the chromatic distortion/aberration effect (sometimes also called color/scene fringing).
-
Konstruktordetails
-
ChromaticAberration
public ChromaticAberration()
-
-
Methodendetails
-
set
public void set(float intensity) Sets the chromatic distortion/aberration effect (sometimes also called color/scene fringing). To reset the value to the game default value, callreset()
- Parameter:
intensity
- intensity of the color shifting, between 0 and 1
-
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).
-