apps.threedmanipulation.gestures
Interface ObjectRotateTranslate.ObjectRotateTranslateScaleListener
- Enclosing class:
- ObjectRotateTranslate
public static interface ObjectRotateTranslate.ObjectRotateTranslateScaleListener
The listener interface for receiving objectRotateTranslateScale events.
The class that is interested in processing a objectRotateTranslateScale
event implements this interface, and the object created with that class
is registered with a component using the component's
addObjectRotateTranslateScaleListener method. When
the objectRotateTranslateScale event occurs, that object's appropriate
method is invoked.
- See Also:
ObjectRotateTranslateScaleEvent
|
Method Summary |
void |
itemMoved(com.jme.scene.Spatial targetSpatial,
float newLocationX,
float newLocationY,
float oldLocationX,
float oldLocationY)
Item moved. |
itemMoved
void itemMoved(com.jme.scene.Spatial targetSpatial,
float newLocationX,
float newLocationY,
float oldLocationX,
float oldLocationY)
- Item moved.
- Parameters:
targetSpatial - the target spatialnewLocationX - the new location xnewLocationY - the new location yoldLocationX - the old location xoldLocationY - the old location y