|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.intersection.PickData
com.jme.intersection.TrianglePickData
public class TrianglePickData
Pick data for triangle accuracy picking including sort by distance to intersection point.
| Field Summary |
|---|
| Fields inherited from class com.jme.intersection.PickData |
|---|
distance |
| Constructor Summary | |
|---|---|
TrianglePickData(Ray ray,
TriMesh targetMesh,
java.util.ArrayList<java.lang.Integer> targetTris,
boolean checkDistance)
|
|
| Method Summary | |
|---|---|
protected float |
calculateDistance()
For bounds picking this method returns the distance of the ray origin to the bound. |
| Methods inherited from class com.jme.intersection.PickData |
|---|
getDistance, getRay, getTargetMesh, getTargetTris, setRay, setTargetMesh, setTargetTris |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrianglePickData(Ray ray,
TriMesh targetMesh,
java.util.ArrayList<java.lang.Integer> targetTris,
boolean checkDistance)
| Method Detail |
|---|
protected float calculateDistance()
PickData
calculateDistance in class PickData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||