public interface NoiseHeightSampler
| Modifier and Type | Method and Description |
|---|---|
NoiseHeight |
sampleNoiseHeight(NoiseHeight noiseHeight,
int startNoiseX,
int startNoiseZ,
int localNoiseX,
int localNoiseZ,
int noiseSizeX,
int noiseSizeZ)
Samples the scale and depth values at startNoiseX + localNoiseX, startNoiseZ + localNoiseZ.
|
NoiseHeight sampleNoiseHeight(NoiseHeight noiseHeight, int startNoiseX, int startNoiseZ, int localNoiseX, int localNoiseZ, int noiseSizeX, int noiseSizeZ)
noiseHeight - The noise height from the previous step.startNoiseX - x-coordinate start of chunk in noise coordinates.startNoiseZ - z-coordinate start of chunk in noise coordinates.localNoiseX - Current subchunk index along x-axis.localNoiseZ - Current subchunk index along z-axis.noiseSizeX - Number of subchunks in the x-axis of a chunk.noiseSizeZ - Number of subchunks in the z-axis of a chunk.NoiseHeight containing the sampled scale and depth values.