com.jmex.effects.water
Interface HeightGenerator
- All Known Implementing Classes:
- WaterHeightGenerator
public interface HeightGenerator
HeightGenerator
Base interface for all waterheight generators used by the projected grid mesh.
- Author:
- Rikard Herlitz (MrCoder)
Method Summary |
float |
getHeight(float x,
float z,
float time)
How to animate/set heights on a grid |
getHeight
float getHeight(float x,
float z,
float 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