|
|||||||||||
| 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
| Constructor Summary | |
E3DSkyObject(E3DEngine engine)
|
|
| Method Summary | |
E3DVector3F |
getPosition()
Get the position the skyobject is currently at |
double |
getScale()
Get the current scale of the sky object |
E3DWorld |
getWorld()
Get the world the skyobject is in |
abstract void |
scale(double scaleAmt)
Scale the object geometry by scaleAmt. |
abstract void |
setPosition(E3DVector3F position)
Set the position of the sky object and its geometry. |
void |
setScale(double scaleAmt)
Set the scale to a given scaleAmt. |
void |
setWorld(E3DWorld world)
Set the world the skyobject is in. |
abstract void |
translate(E3DVector3F translationAmt)
Translate the position and geometry by translationAmt |
void |
update(E3DVector3F position,
double scale)
Called whenever the position of the camera moves or the viewport size changes. |
| Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable |
getBlendMode, getKey, getRenderMode, initCorrectGeometryRenderer, isKeyChanged, render, 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 E3DSkyObject(E3DEngine engine)
| Method Detail |
public abstract void setPosition(E3DVector3F position)
position - public abstract void translate(E3DVector3F translationAmt)
translationAmt - public abstract void scale(double scaleAmt)
scaleAmt - public E3DWorld getWorld()
public void setWorld(E3DWorld world)
world -
public void update(E3DVector3F position,
double scale)
position - scale - public E3DVector3F getPosition()
public void setScale(double scaleAmt)
scaleAmt - public double getScale()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||