com.jme3.terrain.geomipmap.picking
Interface TerrainPicker
- All Known Implementing Classes:
- BresenhamTerrainPicker
public interface TerrainPicker
Pick the location on the terrain from a given ray.
getTerrainIntersection
Vector3f getTerrainIntersection(Ray worldPick,
CollisionResults results)
- Ask for the point of intersection between the given ray and the terrain.
- Parameters:
worldPick
- our pick ray, in world space.
- Returns:
- null if no pick is found. Otherwise it returns a Vector3f populated with the pick
coordinates.