Class RadialBlurFilter

java.lang.Object
arc.fx.FxFilter
arc.fx.filters.RadialBlurFilter
All Implemented Interfaces:
Disposable

public final class RadialBlurFilter extends FxFilter
  • Field Details

    • passes

      public final int passes
    • strength

      public float strength
    • originX

      public float originX
    • originY

      public float originY
    • zoom

      public float zoom
  • Constructor Details

    • RadialBlurFilter

      public RadialBlurFilter(int passes)
  • Method Details

    • getOriginX

      public float getOriginX()
    • getOriginY

      public float getOriginY()
    • setOrigin

      public void setOrigin(int align)
      Specify the zoom origin in Align bits.
      See Also:
    • setOrigin

      public void setOrigin(float originX, float originY)
      Specify the zoom origin in normalized screen coordinates.
      Parameters:
      originX - horizontal origin [0..1].
      originY - vertical origin [0..1].
    • setParams

      public void setParams()
      Description copied from class: FxFilter
      Concrete objects shall be responsible to recreate or rebind its own resources whenever its needed, usually when the OpenGL context is lost. Eg., framebuffer textures should be updated and shader parameters should be reuploaded/rebound.
      Overrides:
      setParams in class FxFilter