Interface TerrainPicker

All Known Implementing Classes:
BresenhamTerrainPicker

public interface TerrainPicker
Pick the location on the terrain from a given ray.
Author:
Brent Owens
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getTerrainIntersection(com.jme3.math.Ray worldPick, com.jme3.collision.CollisionResults results)
    Ask for the point of intersection between the given ray and the terrain.
  • Method Details

    • getTerrainIntersection

      int getTerrainIntersection(com.jme3.math.Ray worldPick, com.jme3.collision.CollisionResults results)
      Ask for the point of intersection between the given ray and the terrain.
      Parameters:
      worldPick - our pick ray, in world space.
      Returns:
      The number of collisions found