com.jme3.terrain.geomipmap.picking
インタフェース TerrainPicker

既知の実装クラスの一覧:
BresenhamTerrainPicker

public interface TerrainPicker

Pick the location on the terrain from a given ray.


メソッドの概要
 Vector3f getTerrainIntersection(Ray worldPick, CollisionResults results)
          Ask for the point of intersection between the given ray and the terrain.
 

メソッドの詳細

getTerrainIntersection

Vector3f getTerrainIntersection(Ray worldPick,
                                CollisionResults results)
Ask for the point of intersection between the given ray and the terrain.

パラメータ:
worldPick - our pick ray, in world space.
戻り値:
null if no pick is found. Otherwise it returns a Vector3f populated with the pick coordinates.