java.lang.Object
net.risingworld.api.objects.visuals.Blur

public final class Blur extends Object
Post-processing effect: Screen-wide blur effect (gaussian blur). Used in conjunction with a PostProcessing object.

Image
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    Determines if the effect is set.
    void
    Resets the effect, so it is no longer active (and no longer overrides any game effects).
    void
    set(float intensity)
    Sets the screen-wide blur.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • Blur

      public Blur()
  • Methodendetails

    • set

      public void set(float intensity)
      Sets the screen-wide blur. To reset the value to the game default value, call reset()
      Parameter:
      intensity - the intensity of the blur effect, between 0 and 16.
    • 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).