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
 

Method Detail

getHeight

float getHeight(float x,
                float z,
                float 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