Interface NoiseGenerator

All Known Implementing Classes:
PerlinNoise, RandomNoise, RidgedMultiFractalNoise, VoronoiNoise

public interface NoiseGenerator
Generates noise in a deterministic or non-deterministic manner.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    noise(Vector2 position)
    Get the noise value for the given position.
    float
    noise(Vector3 position)
    Get the noise value for the given position.
  • Method Details

    • noise

      float noise(Vector2 position)
      Get the noise value for the given position. The returned value may change on every future call for the same position.
      Parameters:
      position - the position
      Returns:
      a noise value between 0 (inclusive) and 1 (inclusive)
    • noise

      float noise(Vector3 position)
      Get the noise value for the given position. The returned value may change on every future call for the same position.
      Parameters:
      position - the position
      Returns:
      a noise value between 0 (inclusive) and 1 (inclusive)