Class SimplexNoiseField
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.fields.noise.NoiseField
com.hypixel.hytale.builtin.hytalegenerator.fields.noise.SimplexNoiseField
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final intprivate final double[]private final double[]private final double[]private final double[]private final double[]private final double[]private final longFields inherited from class com.hypixel.hytale.builtin.hytalegenerator.fields.noise.NoiseField
scaleW, scaleX, scaleY, scaleZ -
Constructor Summary
ConstructorsConstructorDescriptionSimplexNoiseField(long seed, double octaveAmplitudeMultiplier, double octaveFrequencyMultiplier, int numberOfOctaves) -
Method Summary
Methods inherited from class com.hypixel.hytale.builtin.hytalegenerator.fields.noise.NoiseField
setScale, setScale
-
Field Details
-
seed
private final long seed -
offsetX
@Nonnull private final double[] offsetX -
offsetY
@Nonnull private final double[] offsetY -
offsetZ
@Nonnull private final double[] offsetZ -
offsetW
@Nonnull private final double[] offsetW -
numberOfOctaves
private final int numberOfOctaves -
octaveFrequency
@Nonnull private final double[] octaveFrequency -
octaveAmplitude
@Nonnull private final double[] octaveAmplitude -
normalizer
private final double normalizer
-
-
Constructor Details
-
SimplexNoiseField
public SimplexNoiseField(long seed, double octaveAmplitudeMultiplier, double octaveFrequencyMultiplier, int numberOfOctaves)
-
-
Method Details
-
builder
-
valueAt
public double valueAt(double x, double y, double z, double w) - Specified by:
valueAtin classNoiseField
-
valueAt
public double valueAt(double x, double y, double z) - Specified by:
valueAtin classNoiseField
-
valueAt
public double valueAt(double x, double y) - Specified by:
valueAtin classNoiseField
-
valueAt
public double valueAt(double x) - Specified by:
valueAtin classNoiseField
-
getSeed
public long getSeed()
-