public class ImportHeightMapOp extends AbstractOperation<World2>
Modifier | Constructor and Description |
---|---|
protected |
ImportHeightMapOp(ScriptingContext context) |
Modifier and Type | Method and Description |
---|---|
ImportHeightMapOp |
fromHeightMap(HeightMap heightMap) |
ImportHeightMapOp |
fromLevels(int imageLow,
int imageHigh) |
World2 |
go() |
ImportHeightMapOp |
scale(int scale) |
ImportHeightMapOp |
shift(int x,
int y) |
ImportHeightMapOp |
toLevels(int worldLow,
int worldHigh) |
ImportHeightMapOp |
withLowerBuildLimit(int lowerBuildLimit) |
ImportHeightMapOp |
withMapFormat(Platform platform) |
ImportHeightMapOp |
withUpperBuildLimit(int upperBuildLimit) |
ImportHeightMapOp |
withWaterLevel(int level) |
goCalled, sanityCheckFileName
protected ImportHeightMapOp(ScriptingContext context)
public ImportHeightMapOp fromHeightMap(HeightMap heightMap)
public ImportHeightMapOp scale(int scale)
public ImportHeightMapOp shift(int x, int y)
public ImportHeightMapOp fromLevels(int imageLow, int imageHigh) throws ScriptException
ScriptException
public ImportHeightMapOp toLevels(int worldLow, int worldHigh) throws ScriptException
ScriptException
public ImportHeightMapOp withWaterLevel(int level)
public ImportHeightMapOp withMapFormat(Platform platform)
public ImportHeightMapOp withLowerBuildLimit(int lowerBuildLimit)
public ImportHeightMapOp withUpperBuildLimit(int upperBuildLimit)
public World2 go() throws ScriptException
ScriptException