|
|||||||||||
| 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.E3DBlendedRenderable
espresso3d.engine.renderer.base.E3DBlendedAnimatedTextureRenderable
espresso3d.engine.world.sector.base.E3DPortalEnabledBlendedAnimatedTextureRenderable
espresso3d.engine.world.sector.particle.E3DSprite
espresso3d.engine.world.sector.particle.E3DBillboardSprite
| Field Summary |
| Fields inherited from class espresso3d.engine.renderer.base.E3DBlendedRenderable |
BLENDMODE_BLEND, BLENDMODE_SOLID |
| Fields inherited from class espresso3d.engine.renderer.base.E3DRenderable |
RENDERMODE_SOLID, RENDERMODE_TEXTURED, RENDERMODE_WIREFRAME |
| Constructor Summary | |
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops)
|
|
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops,
int blendMode)
|
|
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
java.lang.String textureName)
|
|
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
java.lang.String textureName,
int blendMode)
|
|
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops)
|
|
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops,
int blendMode)
|
|
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
java.lang.String textureName)
|
|
E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
java.lang.String textureName,
int blendMode)
|
|
| Method Summary | |
boolean |
isLockX()
True if the sprite is locked in the X axis (the forward vec won't move in this direction if locked) |
boolean |
isLockY()
True if the sprite is locked in the Y axis (the forward vec won't move in this direction if locked) |
boolean |
isLockZ()
True if the sprite is locked in the Z axis (the forward vec won't move in this direction if locked) |
abstract void |
onCollisionActor(E3DCollision collision)
This is called when another actor collides with this object |
abstract void |
onCollisionSprite(E3DCollision collision)
This is called when a sprite collides with this object |
void |
setLockX(boolean lockX)
Set if the sprite should be locked on the X axis (the forward vec won't move in this direction if locked) |
void |
setLockY(boolean lockY)
Set if the sprite should be locked on the Y axis (the forward vec won't move in this direction if locked) |
void |
setLockZ(boolean lockZ)
Set if the sprite should be locked on the Z axis (the forward vec won't move in this direction if locked) |
boolean |
update(E3DActor lookAtActor,
double lastFrameTimeSeconds)
Calling this makes the billboarding sprite face lookAtActor |
| Methods inherited from class espresso3d.engine.world.sector.particle.E3DSprite |
getBoundingObject, getForward, getPosition, getQuad, getSize, getTriangleList, getUniqueVertexList, getUp, renderAtPosition, rotate, scale, setPosition, setQuad, setRenderMode, translate |
| Methods inherited from class espresso3d.engine.world.sector.base.E3DPortalEnabledBlendedAnimatedTextureRenderable |
checkSectorChangeDuringMovement, getSector, setSector |
| Methods inherited from class espresso3d.engine.renderer.base.E3DBlendedAnimatedTextureRenderable |
getAnimatedTexture, getRenderableOptionsKey, setAnimatedTexture |
| Methods inherited from class espresso3d.engine.renderer.base.E3DBlendedRenderable |
getBlendMode, initCorrectGeometryRenderer, setBlendMode |
| Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable |
getRenderMode, render |
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface espresso3d.engine.collision.base.E3DCollisionDetectableObject |
getEngine, getSector, isCollideable |
| Constructor Detail |
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
java.lang.String textureName)
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops)
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
java.lang.String textureName,
int blendMode)
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
E3DVector3F forward,
E3DVector3F up,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops,
int blendMode)
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
java.lang.String textureName)
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops)
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
java.lang.String textureName,
int blendMode)
public E3DBillboardSprite(E3DEngine engine,
E3DVector3F position,
double size,
E3DAnimatedTextureFrame[] animationFrames,
int animationLoops,
int blendMode)
| Method Detail |
public boolean update(E3DActor lookAtActor,
double lastFrameTimeSeconds)
update in class E3DSpritelookAtActor - The actor the billboard will turn to facelastFrameTimeSeconds - The length of time the last frame took to render (for updating the animation if necessary)
public boolean isLockX()
public void setLockX(boolean lockX)
lockX - public boolean isLockY()
public void setLockY(boolean lockY)
lockY - public boolean isLockZ()
public void setLockZ(boolean lockZ)
lockZ - public abstract void onCollisionActor(E3DCollision collision)
E3DCollisionDetectableObject
onCollisionActor in interface E3DCollisionDetectableObjectonCollisionActor in class E3DSpritepublic abstract void onCollisionSprite(E3DCollision collision)
E3DCollisionDetectableObject
onCollisionSprite in interface E3DCollisionDetectableObjectonCollisionSprite in class E3DSprite
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||