Package com.jme3.terrain.noise.filter
Class PerturbFilter
java.lang.Object
com.jme3.terrain.noise.filter.AbstractFilter
com.jme3.terrain.noise.filter.PerturbFilter
- 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 data, int workSize) float
int
getMargin
(int size, int margin) void
setMagnitude
(float magnitude) Methods inherited from class com.jme3.terrain.noise.filter.AbstractFilter
addPostFilter, addPreFilter, doFilter, isEnabled, setEnabled
-
Constructor Details
-
PerturbFilter
public PerturbFilter()
-
-
Method Details
-
getMargin
public int getMargin(int size, int margin) - Specified by:
getMargin
in interfaceFilter
- Overrides:
getMargin
in classAbstractFilter
-
setMagnitude
public void setMagnitude(float magnitude) -
getMagnitude
public float getMagnitude() -
filter
- Specified by:
filter
in classAbstractFilter
-