|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.render.MinimalRenderer
gestalt.render.BasicRenderer
gestalt.render.AnimatorRenderer
public abstract class AnimatorRenderer
| Field Summary |
|---|
| Fields inherited from class gestalt.render.MinimalRenderer |
|---|
WORKAROUND_FORCE_QUIT |
| Constructor Summary | |
|---|---|
AnimatorRenderer()
|
|
| Method Summary | |
|---|---|
void |
addToRenderLoop(Loopable theLoopable)
|
void |
cameramover(boolean theState)
this method activates a camera mover. |
void |
finish()
is called after the last loop. |
void |
fixFramerate(int theFixedFramerate)
|
FPSCounter |
fpscounter(boolean theState)
|
void |
framerate(int framerate)
set the framerate in frames per second (FPS). |
int |
getCurrentFramerate()
|
int |
getDesiredFramerate()
|
void |
init()
call this method to start the renderer. |
void |
init(DisplayCapabilities theDisplayCapabilities)
call this method to start the renderer. |
void |
init(int theWidth,
int theHeight)
|
void |
init(int theWidth,
int theHeight,
boolean theUndecorated)
|
void |
loop()
|
void |
loop(float theDeltaTime)
override this method to get a loop. |
void |
quit()
quit renderer. |
Loop |
renderloop()
|
void |
setup()
override this method to setup things. |
void |
start()
start animation loop. |
void |
stop()
stop animation loop. |
void |
update(float theDeltaTime)
|
| Methods inherited from class gestalt.render.BasicRenderer |
|---|
camera, create, dispose, fog, framefinish, framesetup, keyPressed, keyReleased, light, mousePressed, mouseReleased, origin, replaceCamera, set3DFinishRef, setBinRef, setCameraRef, setFogRef, setFramefinishRef, setFramesetupRef, setLightRef, setOriginRef, setupDefaultRenderbins, toString |
| Methods inherited from class gestalt.render.MinimalRenderer |
|---|
bin, bin, createDisplayCapabilities, display, displaycapabilities, drawablefactory, event, setDisplayRef, setDrawablefactoryRef, setEventRef, updateDisplayCapabilities |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnimatorRenderer()
| Method Detail |
|---|
public void setup()
setup in interface Loopablepublic void loop(float theDeltaTime)
theDeltaTime - float duration of the last frame in seconds.public final void loop()
public void finish()
public void cameramover(boolean theState)
theState - booleanpublic FPSCounter fpscounter(boolean theState)
theState - boolean
public void update(float theDeltaTime)
update in interface Loopablepublic void init()
public void init(DisplayCapabilities theDisplayCapabilities)
theDisplayCapabilities - DisplayCapabilities define the display
public void init(int theWidth,
int theHeight)
public void init(int theWidth,
int theHeight,
boolean theUndecorated)
public void start()
public void stop()
public void quit()
quit in class BasicRendererpublic void framerate(int framerate)
framerate - intpublic void fixFramerate(int theFixedFramerate)
public int getCurrentFramerate()
public int getDesiredFramerate()
public void addToRenderLoop(Loopable theLoopable)
public Loop renderloop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||