Interface HeightGenerator

All Known Implementing Classes:
WaterHeightGenerator

public interface HeightGenerator
HeightGenerator Base interface for all waterheight generators used by the projected grid mesh.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getHeight(double x, double z, double time)
    How to animate/set heights on a grid
    double
     
  • Method Details

    • getHeight

      double getHeight(double x, double z, double time)
      How to animate/set heights on a grid
      Parameters:
      x - x position to get height for
      z - z position to get height for
      time - time to get height for
      Returns:
      height for specified position
    • getMaximumHeight

      double getMaximumHeight()