|
|||||||||||
| 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.E3DFixedSizeImage
| Constructor Summary | |
E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
int width,
int height,
int life)
Create a fixed size image that has an animated texture |
|
E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
int width,
int height,
int life,
int blendMode)
Create a fixed size image that has an animated texture |
|
E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
int width,
int height,
int life)
Construct an E3DImage that has a static width. |
|
E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
int width,
int height,
int life,
int blendMode)
Construct an E3DImage that has a static width. |
|
E3DFixedSizeImage(E3DFixedSizeImage toCopyImage,
java.lang.String imageID)
Create this image as a copy of another, only giving it different ID |
|
| Method Summary | |
int |
getHeight()
Return the number of pixels high the image is |
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. |
int |
getWidth()
Return the number of pixels wide the image is |
void |
scale(double scaleAmt)
Multiply the width and height by a scalar |
void |
setHeight(int height)
Set the height of the image |
void |
setWidth(int width)
Set the width of the image |
| 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 E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
int width,
int height,
int life)
engine - imageID - textureName - position - Position the iamge will be at starting at 0,0 in the lower left corner of the window and extending up and leftwidth - Width from x going to the rightheight - Height form y going up
public E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
java.lang.String textureName,
E3DVector2I position,
int width,
int height,
int life,
int blendMode)
engine - imageID - textureName - position - Position the iamge will be at starting at 0,0 in the lower left corner of the window and extending up and leftwidth - Width from x going to the rightheight - Height form y going upblendMode - The type of blending that should be used to render the object
public E3DFixedSizeImage(E3DFixedSizeImage toCopyImage,
java.lang.String imageID)
toCopyImage - The image to copyimageID - A new unique imageID for this image
public E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
int width,
int height,
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)width - How many pixels wide to make itheight - How many pixels high to make itlife - How long it is displayed. -1 is infiniteblendMode - One of E3DImage.RENDERMODE_ options
public E3DFixedSizeImage(E3DEngine engine,
java.lang.String imageID,
E3DAnimatedTextureFrame[] animatedTextureFrames,
int animationLoops,
E3DVector2I position,
int width,
int height,
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)width - How many pixels wide to make itheight - How many pixels high to make itlife - 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 - public int getHeight()
public void setHeight(int height)
height - public int getWidth()
public void setWidth(int width)
width -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||