Package com.ardor3d.intersection
Class PrimitivePickResults
java.lang.Object
com.ardor3d.intersection.PickResults
com.ardor3d.intersection.PrimitivePickResults
PrimitivePickResults implements the addPick of PickResults to use PickData objects that calculate primitive accurate
ray picks.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPick
generates an entry to be added to the list of picked objects.float
void
setMaxPickableDistance
(float distance) Methods inherited from class com.ardor3d.intersection.PickResults
addPickData, clear, findFirstIntersectingPickData, getNumber, getPickData, processPick, setCheckDistance, willCheckDistance
-
Field Details
-
_maxPickableDistance
protected float _maxPickableDistance
-
-
Constructor Details
-
PrimitivePickResults
public PrimitivePickResults()
-
-
Method Details
-
addPick
Description copied from class:PickResults
addPick
generates an entry to be added to the list of picked objects. If checkDistance is true, the implementing class should order the object.- Specified by:
addPick
in classPickResults
- Parameters:
ray
- the ray that was cast for the pick calculation.pickable
- the pickable object to add to the pick data.
-
getMaxPickableDistance
public float getMaxPickableDistance() -
setMaxPickableDistance
public void setMaxPickableDistance(float distance)
-