|
|||||||||||
| 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.world.sector.base.E3DPortalEnabledAnimatedTextureRenderable
espresso3d.engine.world.sector.particle.E3DSprite
espresso3d.engine.world.sector.particle.E3DBillboardSprite
| 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,
boolean skipRotate)
Calling this makes the billboarding sprite face lookAtActor |
| Methods inherited from class espresso3d.engine.world.sector.particle.E3DSprite |
getBoundingObject, getKey, getOrientation, getQuad, getSize, getTriangleList, getUniqueVertexPositionList, render, rotate, scale, setBoundingObject, setPosition, setQuad, setRenderMode, translate, update |
| Methods inherited from class espresso3d.engine.world.sector.base.E3DPortalEnabledAnimatedTextureRenderable |
checkSectorChangeDuringMovement, getSector, setSector |
| Methods inherited from class espresso3d.engine.renderer.base.E3DAnimatedTextureRenderable |
getAnimatedTexture, setAnimatedTexture, update |
| Methods inherited from class espresso3d.engine.renderer.base.E3DTexturedRenderable |
getTexture, getTextureDetail0, getTextureDetail1, isTextureAvailable, isTextureDetail0Available, isTextureDetail1Available, setTexture, setTextureDetail0, setTextureDetail1 |
| Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable |
getBlendMode, getRenderMode, initCorrectGeometryRenderer, isKeyChanged, setBlendMode, setKeyChanged |
| 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 |
| 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,
boolean skipRotate)
lookAtActor - The actor the billboard will turn to facelastFrameTimeSeconds - The length of time the last frame took to render (for updating the animation if necessary)skipRotate - makes it skip the rotation piecepublic 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 | ||||||||||