env3d
Class EnvPickResult

java.lang.Object
  extended by env3d.EnvPickResult

public class EnvPickResult
extends java.lang.Object

Encapsulate the result from a mouse pick. It contains the intersection point of the pick operation, as well as the pick object itself.


Constructor Summary
EnvPickResult(com.jme3.math.Vector3f intesection, java.lang.Object obj)
           
 
Method Summary
 EnvVector getIntersectionPoint()
           
 java.lang.Object getPickObject()
           
 void setIntersectionPoint(EnvVector intersectionPoint)
           
 void setPickObject(java.lang.Object pickObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvPickResult

public EnvPickResult(com.jme3.math.Vector3f intesection,
                     java.lang.Object obj)
Method Detail

getPickObject

public java.lang.Object getPickObject()
Returns:
the pickObject

setPickObject

public void setPickObject(java.lang.Object pickObject)
Parameters:
pickObject - the pickObject to set

getIntersectionPoint

public EnvVector getIntersectionPoint()
Returns:
the intersectionPoint

setIntersectionPoint

public void setIntersectionPoint(EnvVector intersectionPoint)
Parameters:
intersectionPoint - the intersectionPoint to set