Package com.jme3.terrain.noise.filter
Class SmoothFilter
java.lang.Object
com.jme3.terrain.noise.filter.AbstractFilter
com.jme3.terrain.noise.filter.SmoothFilter
- All Implemented Interfaces:
Filter
-
Field Summary
Fields inherited from class com.jme3.terrain.noise.filter.AbstractFilter
postFilters, preFilters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfilter
(float sx, float sy, float base, FloatBuffer buffer, int size) float
int
getMargin
(int size, int margin) int
void
setEffect
(float effect) void
setRadius
(int radius) Methods inherited from class com.jme3.terrain.noise.filter.AbstractFilter
addPostFilter, addPreFilter, doFilter, isEnabled, setEnabled
-
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 interfaceFilter
- Overrides:
getMargin
in classAbstractFilter
-
filter
- Specified by:
filter
in classAbstractFilter
-