Class ArrayHeightMap

java.lang.Object
com.fastasyncworldedit.core.math.heightmap.ScalableHeightMap
com.fastasyncworldedit.core.math.heightmap.ArrayHeightMap
All Implemented Interfaces:
HeightMap

public class ArrayHeightMap extends ScalableHeightMap
  • Constructor Details

    • ArrayHeightMap

      public ArrayHeightMap(char[][] height, double scale)
      New height map represented by char array[][] of values x*z to be scaled given a set size. Limited 0->65535
      Parameters:
      height - array of height values
      scale - "scale" of the heightmap. Typically the normalised height of the world, or the maximum possible value (256 for a PNG heightmap)
  • Method Details