org.xith3d.picking
Interface AllPickListener

All Superinterfaces:
PickListenerBase
All Known Subinterfaces:
PickListener
All Known Implementing Classes:
PickAdapter, PickDispatcher, SelectionManager

public interface AllPickListener
extends PickListenerBase

This listener is notified, when the picking is actually done.

See Also:
ScheduledPicker

Method Summary
 void onObjectsPicked(java.util.List<PickResult> pickResults, java.lang.Object userObject, long pickTime)
          This event is fired when a picking was successful.
 
Methods inherited from interface org.xith3d.picking.PickListenerBase
onPickingMissed, testIntersectionsInWorldSpaceForPicking
 

Method Detail

onObjectsPicked

void onObjectsPicked(java.util.List<PickResult> pickResults,
                     java.lang.Object userObject,
                     long pickTime)
This event is fired when a picking was successful.
It is very important to be aware of the fact, that the List of PickResults is not guaranteed to be valid after this method has been left.

Parameters:
pickResults - all PickResults from this picking operation
userObject - this userObject is passed to the Picker and back to this method
pickTime - the needed time to do this picking