Interface SamplingConfig
public interface SamplingConfig
Specifies how noise is sampled.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SamplingConfigof(double xzScale, double xzFactor, double yScale, double yFactor) doublexzFactor()The noise smoothness in the horizontal axis.doublexzScale()The noise scale on the x and z axis.doubleyFactor()The noise smoothness in the vertical axis.doubleyScale()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.
-