|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.renderer.base.E3DRenderable
espresso3d.engine.world.sky.E3DSkyObject
espresso3d.engine.world.sky.E3DSkyBox
| Constructor Summary | |
E3DSkyBox(E3DEngine engine,
java.lang.String frontTexture,
java.lang.String backTexture,
java.lang.String leftTexture,
java.lang.String rightTexture,
java.lang.String topTexture,
java.lang.String bottomTexture)
Construct a new sky box |
|
| Method Summary | |
E3DQuad |
getBack()
Get the quad for the back face of the SkyBox |
E3DQuad |
getBottom()
Get the quad for the bottom face of the SkyBox |
E3DQuad |
getFront()
Get the quad for the front face of the SkyBox |
E3DQuad |
getLeft()
Get the quad for the left face of the SkyBox |
E3DQuad |
getRight()
Get the quad for the right face of the SkyBox |
E3DQuad |
getTop()
Get the quad for the top face of the SkyBox |
void |
render()
|
void |
scale(double scaleAmt)
Scale the skybox. |
void |
setPosition(E3DVector3F position)
Set the position the sky box should center around. |
void |
translate(E3DVector3F translationAmt)
Translate the skybox. |
| Methods inherited from class espresso3d.engine.world.sky.E3DSkyObject |
getPosition, getScale, getWorld, setScale, setWorld, update |
| Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable |
getBlendMode, getKey, getRenderMode, initCorrectGeometryRenderer, isKeyChanged, setBlendMode, setKeyChanged, setRenderMode |
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public E3DSkyBox(E3DEngine engine,
java.lang.String frontTexture,
java.lang.String backTexture,
java.lang.String leftTexture,
java.lang.String rightTexture,
java.lang.String topTexture,
java.lang.String bottomTexture)
engine - Enine the skybox resides infrontTexture - Texture name for the front face of the boxbackTexture - Texture name for the back face of the boxleftTexture - Texture name for the left face of the boxrightTexture - Texture name for the right face of the boxtopTexture - Texture name for the top face of the boxbottomTexture - Texture name for the bottom face of the box| Method Detail |
public E3DQuad getFront()
public E3DQuad getBack()
public E3DQuad getLeft()
public E3DQuad getRight()
public E3DQuad getBottom()
public E3DQuad getTop()
public void render()
render in class E3DRenderablepublic void setPosition(E3DVector3F position)
setPosition in class E3DSkyObjectposition - public void translate(E3DVector3F translationAmt)
translate in class E3DSkyObjecttranslationAmt - public void scale(double scaleAmt)
scale in class E3DSkyObjectscaleAmt -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||