|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.base.E3DViewport
| Constructor Summary | |
E3DViewport(E3DEngine engine,
int x,
int y,
int width,
int height,
java.lang.String viewportID)
|
|
| Method Summary | |
E3DActor |
getCameraActor()
Gets the actor the camera is using as its camera |
double |
getFarClipPlane()
|
double |
getFovY()
|
int |
getHeight()
|
double |
getNearClipPlane()
|
java.lang.String |
getViewportID()
|
int |
getWidth()
|
E3DWorld |
getWorld()
|
int |
getX()
|
int |
getY()
|
void |
setCameraActor(E3DActor cameraActor)
This is the actor that the viewport uses as the camera |
void |
setFarClipPlane(double farClipPlane)
Sets the far clipping plane. |
void |
setFovY(double fovY)
Sets how many degress you can see in the Y dir. |
void |
setHeight(int height)
|
void |
setNearClipPlane(double nearClipPlane)
Sets the near clipping plane. |
void |
setWidth(int width)
|
void |
setWorld(E3DWorld world)
|
void |
setX(int x)
Sets the x coordinate of the upper left corner of the viewport. |
void |
setY(int y)
Sets the y coordinate of the bottom left corner of the viewport |
void |
switchToViewport()
|
| 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 E3DViewport(E3DEngine engine,
int x,
int y,
int width,
int height,
java.lang.String viewportID)
| Method Detail |
public int getHeight()
public void setHeight(int height)
height - The height of the viewport. This is not a coordinate, it is how high to make it from y.
Remember, Y gets larger as it goes up the screenpublic int getWidth()
public void setWidth(int width)
width - The width of the viewport. This is not a coordinate, it is how wide to make it from xpublic int getX()
public void setX(int x)
x - public int getY()
public void setY(int y)
y - public double getFarClipPlane()
public void setFarClipPlane(double farClipPlane)
farClipPlane - The farClipPlane to set.public double getFovY()
public void setFovY(double fovY)
fovY - The fovY to set.public double getNearClipPlane()
public void setNearClipPlane(double nearClipPlane)
nearClipPlane - The nearClipPlane to set.public void switchToViewport()
public E3DWorld getWorld()
public void setWorld(E3DWorld world)
world - The world to set for the viewport to displaypublic java.lang.String getViewportID()
public void setCameraActor(E3DActor cameraActor)
cameraActor - public E3DActor getCameraActor()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||