Class SmoothFilter

java.lang.Object
com.jme3.terrain.noise.filter.AbstractFilter
com.jme3.terrain.noise.filter.SmoothFilter
All Implemented Interfaces:
Filter

public class SmoothFilter extends AbstractFilter
  • Constructor Details

    • SmoothFilter

      public SmoothFilter()
  • Method Details

    • setRadius

      public void setRadius(int radius)
    • getRadius

      public int getRadius()
    • setEffect

      public void setEffect(float effect)
    • getEffect

      public float getEffect()
    • getMargin

      public int getMargin(int size, int margin)
      Specified by:
      getMargin in interface Filter
      Overrides:
      getMargin in class AbstractFilter
    • filter

      public FloatBuffer filter(float sx, float sy, float base, FloatBuffer buffer, int size)
      Specified by:
      filter in class AbstractFilter