public class GeometryApplication extends com.jme3.app.SimpleApplication implements IUpdateableListener
The JME3 entry point for rendering the geometry editor viewport
INPUT_MAPPING_CAMERA_POS, INPUT_MAPPING_EXIT, INPUT_MAPPING_HIDE_STATS, INPUT_MAPPING_MEMORY
component
Constructor and Description |
---|
GeometryApplication() |
Modifier and Type | Method and Description |
---|---|
void |
loadGeometry(GeometryComponent geometry)
Initializes the CSG tree given a GeometryComponent and prepares for
rendering
|
void |
simpleInitApp()
Initializes the GeometryApplication when the display needs to be created
|
void |
simpleUpdate(float tpf) |
void |
syncGeometry()
Synchronizes the current state of the scene graph with the current
geometry
|
void |
update(IUpdateable component)
Triggers the synchronization whenever the GeometryComponent updates
|
getFlyByCamera, getGuiNode, getRootNode, initialize, isShowSettings, setDisplayFps, setDisplayStatView, setShowSettings, simpleRender, start, update
createCanvas, destroy, enqueue, gainFocus, getAssetManager, getAudioRenderer, getCamera, getContext, getGuiViewPort, getInputManager, getListener, getRenderer, getRenderManager, getStateManager, getTimer, getViewPort, handleError, isPauseOnLostFocus, loseFocus, requestClose, reshape, restart, setAssetManager, setPauseOnLostFocus, setSettings, setTimer, start, startCanvas, startCanvas, stop, stop
public void simpleInitApp()
simpleInitApp
in class com.jme3.app.SimpleApplication
public void simpleUpdate(float tpf)
simpleUpdate
in class com.jme3.app.SimpleApplication
public void loadGeometry(GeometryComponent geometry)
geometry
- The geometry to renderpublic void syncGeometry()
public void update(IUpdateable component)
update
in interface IUpdateableListener
component
- The component that was updated in some way.