Interface SamplingConfig
public interface SamplingConfig
Specifies how noise is sampled.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SamplingConfig
of
(double xzScale, double xzFactor, double yScale, double yFactor) double
xzFactor()
The noise smoothness in the horizontal axis.double
xzScale()
The noise scale on the x and z axis.double
yFactor()
The noise smoothness in the vertical axis.double
yScale()
The noise scale on the y axis.
-
Method Details
-
of
-
xzScale
double xzScale()The noise scale on the x and z axis. Higher values result in more intricate horizontal shapes.- Returns:
- the xz scale
-
xzFactor
double xzFactor()The noise smoothness in the horizontal axis.- Returns:
- the xz factor.
-
yScale
double yScale()The noise scale on the y axis. Higher values result in more intricate vertical shapes.- Returns:
- the y scale
-
yFactor
double yFactor()The noise smoothness in the vertical axis.The value can range from 0.001 to 1000.0
- Returns:
- the xz factor.
-