public class CursorManager
extends java.lang.Object
Constructor and Description |
---|
CursorManager(com.jme3.asset.AssetManager assetmanager)
Creates and initializer a cursor manager
|
Modifier and Type | Method and Description |
---|---|
void |
setCursor(CursorType type)
Sets the cursor to display in the 3D visualization.
|
public CursorManager(com.jme3.asset.AssetManager assetmanager)
assetmanager
- the applicaiton's asset managerurl
- to imagefilexHotspot
- from image leftyHotspot
- from image bottompublic void setCursor(CursorType type)
CursorType
enumeration.type
- the cursor type, to be displayed as the mouse cursor controlled by the user