public class PickedSpatial
extends java.lang.Object
Constructor and Description |
---|
PickedSpatial(com.jme3.scene.Spatial s,
com.jme3.math.Vector3f pointOfSelection)
Instantiates a new picked spatial.
|
Modifier and Type | Method and Description |
---|---|
com.jme3.math.Vector3f |
getPointOfSelection()
Gets the point of selection.
|
com.jme3.scene.Spatial |
getSpatial()
Gets the spatial.
|
java.lang.String |
toString() |
public PickedSpatial(com.jme3.scene.Spatial s, com.jme3.math.Vector3f pointOfSelection)
s
- the spointOfSelection
- the point of selectionpublic com.jme3.math.Vector3f getPointOfSelection()
public com.jme3.scene.Spatial getSpatial()
public java.lang.String toString()
toString
in class java.lang.Object