|
|||||||||||
| 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.renderer.base.E3DTexturedRenderable
espresso3d.engine.renderer.base.E3DAnimatedTextureRenderable
espresso3d.engine.viewport.image.E3DImage
espresso3d.engine.viewport.image.E3DVariableSizeImage
| Constructor Summary | |
E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life)
Create a variable size image that has an animated texture |
|
E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life,
int blendMode)
Create a variable size image that has an animated texture |
|
E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life)
Construct an E3DImage that has a percentage height and width. |
|
E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life,
int blendMode)
Construct an E3DImage that has a percentage height and width. |
|
E3DVariableSizeImage(E3DVariableSizeImage toCopyImage,
java.lang.String imageID)
Create this image as a copy of another, only giving it different ID |
|
| Method Summary | |
E3DQuad |
getPositionedQuad()
Returns a quad in 3D space that is positioned correctly to be rendered in the correct position for 2D space Usually used only by the engine. |
void |
scale(double scaleAmt)
Scale the widthPercentage and heightPercentage by scaleAmt |
| Methods inherited from class espresso3d.engine.viewport.image.E3DImage |
getAge, getImageID, getLife, getPosition, getQuad, getViewport, render, setImageID, setLife, setPosition, setQuad, setVertexColor, setViewport, translate, update |
| Methods inherited from class espresso3d.engine.renderer.base.E3DAnimatedTextureRenderable |
getAnimatedTexture, setAnimatedTexture |
| Methods inherited from class espresso3d.engine.renderer.base.E3DTexturedRenderable |
getKey, getTexture, getTextureDetail0, getTextureDetail1, isTextureAvailable, isTextureDetail0Available, isTextureDetail1Available, setTexture, setTextureDetail0, setTextureDetail1 |
| Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable |
getBlendMode, 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 E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life)
engine - imageID - textureName - position - The position the bottom left corner of the image is at in the viewport. (0,0) starts in the bottom left corner of the viewport and extends up and to the right.
public E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life,
int blendMode)
engine - imageID - textureName - position - The position the bottom left corner of the image is at in the viewport. (0,0) starts in the bottom left corner of the viewport and extends up and to the right.blendMode - The type of blending that should be used to render the object
public E3DVariableSizeImage(E3DVariableSizeImage toCopyImage,
java.lang.String imageID)
toCopyImage - The image to copyimageID - A new unique imageID for this image
public E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life,
int blendMode)
engine - imageID - Uniue imageID for this imageanimatedTextureFrames - Array of E3DAnimatedTextureFrame objects. Each specifying a frame of the animation for the image.animationLoops - Number of loops to animate the imageposition - 2D position (Viewport coords with (0,0) at the bottom left of the viewport)widthPercentage - Percentage of the viewport the image should fill width-wiseheightPercentage - Percentage of the viewport the image should fill height-wiselife - How long it is displayed. -1 is infiniteblendMode - One of E3DImage.RENDERMODE_ options
public E3DVariableSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
double widthPercentage,
double heightPercentage,
int life)
engine - imageID - Uniue imageID for this imageanimatedTextureFrames - Array of E3DAnimatedTextureFrame objects. Each specifying a frame of the animation for the image.animationLoops - Number of loops to animate the imageposition - 2D position (Viewport coords with (0,0) at the bottom left of the viewport)widthPercentage - Percentage of the viewport the image should fill width-wiseheightPercentage - Percentage of the viewport the image should fill height-wiselife - How long it is displayed. -1 is infinite| Method Detail |
public E3DQuad getPositionedQuad()
getPositionedQuad in class E3DImagepublic void scale(double scaleAmt)
scale in class E3DImagescaleAmt -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||