|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Main interface that for objects to be rendered.
| Method Summary | |
void |
animate(double time)
this is the main animation routine, called per frame |
void |
drawOverlay(java.awt.Graphics g)
allows for drawing an overlay layer on top of the rendered graphics |
java.awt.Rectangle |
getBounds()
returns the bounds Rectangle for this Renderable |
void |
initialize()
initialize all your geometries, materials and lights here |
void |
setBounds(int x,
int y,
int w,
int h)
|
void |
setBounds(java.awt.Rectangle r)
|
| Method Detail |
public void initialize()
public void animate(double time)
time - system time in secondspublic void drawOverlay(java.awt.Graphics g)
g - graphics onto which the overlay will be renderedpublic java.awt.Rectangle getBounds()
public void setBounds(int x,
int y,
int w,
int h)
x - y - w - h - public void setBounds(java.awt.Rectangle r)
r -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||