Package com.jme3.terrain.noise.filter
Class HydraulicErodeFilter
java.lang.Object
com.jme3.terrain.noise.filter.AbstractFilter
com.jme3.terrain.noise.filter.HydraulicErodeFilter
- 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 workSize) int
getMargin
(int size, int margin) void
setKc
(float kc) void
setKe
(float ke) void
setKr
(float kr) void
setKs
(float ks) void
setSedimentMap
(Basis sedimentMap) void
setT
(float t) void
setWaterMap
(Basis waterMap) Methods inherited from class com.jme3.terrain.noise.filter.AbstractFilter
addPostFilter, addPreFilter, doFilter, isEnabled, setEnabled
-
Constructor Details
-
HydraulicErodeFilter
public HydraulicErodeFilter()
-
-
Method Details
-
setKc
public void setKc(float kc) -
setKe
public void setKe(float ke) -
setKr
public void setKr(float kr) -
setKs
public void setKs(float ks) -
setSedimentMap
-
setT
public void setT(float t) -
setWaterMap
-
getMargin
public int getMargin(int size, int margin) - Specified by:
getMargin
in interfaceFilter
- Overrides:
getMargin
in classAbstractFilter
-
filter
- Specified by:
filter
in classAbstractFilter
-