public class SNScreenshotAppState
extends com.jme3.app.state.AbstractAppState
implements com.jme3.post.SceneProcessor
| Constructor and Description |
|---|
SNScreenshotAppState() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Image |
getLastScreenShot()
Gets the last screen shot.
|
void |
initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app) |
void |
initialize(com.jme3.renderer.RenderManager rm,
com.jme3.renderer.ViewPort vp) |
boolean |
isInitialized() |
void |
postFrame(com.jme3.texture.FrameBuffer out) |
void |
postQueue(com.jme3.renderer.queue.RenderQueue rq) |
void |
preFrame(float tpf) |
void |
reshape(com.jme3.renderer.ViewPort vp,
int w,
int h) |
void |
takeScreenShot(IScreenShotter screenShotter,
com.jme3.math.Vector2f loc,
float rot)
Take screen shot.
|
cleanup, isActive, postRender, render, setActive, stateAttached, stateDetached, updatepublic java.awt.Image getLastScreenShot()
public void initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
initialize in interface com.jme3.app.state.AppStateinitialize in class com.jme3.app.state.AbstractAppStatepublic void initialize(com.jme3.renderer.RenderManager rm,
com.jme3.renderer.ViewPort vp)
initialize in interface com.jme3.post.SceneProcessorpublic boolean isInitialized()
isInitialized in interface com.jme3.app.state.AppStateisInitialized in interface com.jme3.post.SceneProcessorisInitialized in class com.jme3.app.state.AbstractAppStatepublic void postFrame(com.jme3.texture.FrameBuffer out)
postFrame in interface com.jme3.post.SceneProcessorpublic void postQueue(com.jme3.renderer.queue.RenderQueue rq)
postQueue in interface com.jme3.post.SceneProcessorpublic void preFrame(float tpf)
preFrame in interface com.jme3.post.SceneProcessorpublic void reshape(com.jme3.renderer.ViewPort vp,
int w,
int h)
reshape in interface com.jme3.post.SceneProcessorpublic void takeScreenShot(IScreenShotter screenShotter, com.jme3.math.Vector2f loc, float rot)
screenShotter - the screen shotterloc - the locrot - the rot