float[] heightmap = new float[65536]; for(int i =0; i < 65536; i++) { heightmap[i] = 20.4989f; } TerrainEngine.CreateLayerPacket(heightmap, 5, 7, 6,7);