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 TypeMethodDescriptiondouble
getHeight
(double x, double z, double time) How to animate/set heights on a griddouble
-
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 forz
- z position to get height fortime
- time to get height for- Returns:
- height for specified position
-
getMaximumHeight
double getMaximumHeight()
-