Class Noise

java.lang.Object
com.jme3.terrain.noise.basis.Noise
All Implemented Interfaces:
Basis
Direct Known Subclasses:
FractalSum, ImprovedNoise, NoiseAggregator

public abstract class Noise extends Object implements Basis
Utility base class for Noise implementations
  • Field Details

    • modulators

      protected List<Modulator> modulators
    • scale

      protected float scale
  • Constructor Details

    • Noise

      public Noise()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBuffer

      public FloatBuffer getBuffer(float sx, float sy, float base, int size)
      Specified by:
      getBuffer in interface Basis
    • modulate

      public float modulate(float x, float y, float z)
    • addModulator

      public Basis addModulator(Modulator modulator)
      Specified by:
      addModulator in interface Basis
    • setScale

      public Basis setScale(float scale)
      Specified by:
      setScale in interface Basis
    • getScale

      public float getScale()
      Specified by:
      getScale in interface Basis