com.jme.intersection
Class BoundingPickResults
java.lang.Object
com.jme.intersection.PickResults
com.jme.intersection.BoundingPickResults
public class BoundingPickResults
- extends PickResults
BoundingPickResults creates a PickResults object that only cares
about bounding volume accuracy. PickData objects are added to the
pick list as they happen, these data objects only refer to the two
meshes, not their triangle lists. While BoundingPickResults defines a
processPick method, it is empty and should be further defined by the
user if so desired.
- Version:
- $Id: BoundingCollisionResults.java,v 1.2 2004/10/05 23:38:16
mojomonkey Exp $
- Author:
- Mark Powell
Method Summary |
void |
addPick(Ray ray,
Geometry g)
adds a PickData object to this results list, the objects only refer
to the picked meshes, not the triangles. |
void |
processPick()
empty implementation, it is highly recommended that you override this
method to handle any picks as needed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundingPickResults
public BoundingPickResults()
addPick
public void addPick(Ray ray,
Geometry g)
- adds a PickData object to this results list, the objects only refer
to the picked meshes, not the triangles.
- Specified by:
addPick
in class PickResults
- Parameters:
ray
- the ray that was cast for the pick calculation.g
- the object to add to the pick data.- See Also:
PickResults.addPick(Ray, Geometry)
processPick
public void processPick()
- empty implementation, it is highly recommended that you override this
method to handle any picks as needed.
- Specified by:
processPick
in class PickResults
- See Also:
PickResults.processPick()