public class OnlyOnTerrainOrLayerFilter extends TerrainOrLayerFilter
TerrainOrLayerFilter.ObjectTypeAUTO_BIOMES, LAND, LAVA, WATER| Modifier and Type | Method and Description |
|---|---|
static Filter |
create(Dimension dimension,
java.lang.Object item) |
float |
modifyStrength(int x,
int y,
float strength)
Filter the input strength.
|
getDimension, getLayer, getObjectType, getTerrain, getValue, toStringpublic float modifyStrength(int x,
int y,
float strength)
Filterx - The X coordinate in WorldPainter dimension coordinates for which to determine the filter
strength.y - The Y coordinate in WorldPainter dimension coordinates for which to determine the filter
strength.strength - The input filter strength as a number between 0.0 and 1.0.