| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.opengl.renderobjects.Background
public class Background
A VObject for rendering the static background.
| Field Summary | |
|---|---|
private  GLRenderObject | 
appearance
 | 
private  float | 
bgAlpha
 | 
private  float | 
bgBlue
 | 
private  float | 
bgGreen
 | 
private  float | 
bgRed
 | 
| Constructor Summary | |
|---|---|
Background()
Creates a Background  | 
|
Background(float bgRed,
           float bgGreen,
           float bgBlue)
Creates a Background with uniform color, as specified  | 
|
| Method Summary | |
|---|---|
 void | 
glInit(GLRenderContext gl)
initializes the glClearColor  | 
 void | 
glRender(GLRenderContext gl)
renders background geometry, if any.  | 
 void | 
setBackgroundColor(float bgRed,
                   float bgGreen,
                   float bgBlue)
sets the background color  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private GLRenderObject appearance
private float bgRed
private float bgGreen
private float bgBlue
private float bgAlpha
| Constructor Detail | 
|---|
public Background()
public Background(float bgRed,
                  float bgGreen,
                  float bgBlue)
| Method Detail | 
|---|
public void glInit(GLRenderContext gl)
glInit in interface GLRenderObjectpublic void glRender(GLRenderContext gl)
glRender in interface GLRenderObject
public void setBackgroundColor(float bgRed,
                               float bgGreen,
                               float bgBlue)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||