|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectunc.cdva.graphics.models.TextureAnimatedObject
public class TextureAnimatedObject
Encapsulate an object with a texture based animation
| Constructor Summary | |
|---|---|
TextureAnimatedObject(StaticListObject baseObject,
TextureAnimation animation)
Inits a texture animated object with a base object and an animation |
|
| Method Summary | |
|---|---|
Object3D |
clone()
Clone the object (copy all the attributes) |
TextureAnimation |
getAnimation()
|
StaticListObject |
getBaseObject()
|
void |
render(javax.media.opengl.GL gl)
Render an object. |
void |
setAnimation(TextureAnimation animation)
|
void |
setBaseObject(StaticListObject baseObject)
|
void |
update(int state)
Update the animation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextureAnimatedObject(StaticListObject baseObject,
TextureAnimation animation)
baseObject - base objectanimation - corresponding animation| Method Detail |
|---|
public void render(javax.media.opengl.GL gl)
Object3D
render in interface Object3Dgl - gl contextObject3D.render(javax.media.opengl.GL)public Object3D clone()
Object3D
clone in interface Object3Dclone in class java.lang.ObjectObject.clone()public void update(int state)
state - public StaticListObject getBaseObject()
public void setBaseObject(StaticListObject baseObject)
baseObject - the baseObject to setpublic TextureAnimation getAnimation()
public void setAnimation(TextureAnimation animation)
animation - the animation to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||