|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunc.cdva.graphics.models.StaticListObject
public class StaticListObject
An OBJ model implementation that renders the data as a display list.
Constructor Summary | |
---|---|
StaticListObject()
Create a new OBJ model |
|
StaticListObject(ObjData data,
com.sun.opengl.util.texture.Texture texture,
ShaderProgram shader,
javax.media.opengl.GL gl)
Create a new OBJ model that will render the object data specified in OpenGL |
Method Summary | |
---|---|
Object3D |
clone()
Clone the object (copy all the attributes) |
int |
getListId()
|
com.sun.opengl.util.texture.Texture |
getTexture()
|
void |
render(javax.media.opengl.GL gl)
Render the OBJ Model |
void |
setListId(int listId)
|
void |
setTexture(com.sun.opengl.util.texture.Texture texture)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticListObject()
public StaticListObject(ObjData data, com.sun.opengl.util.texture.Texture texture, ShaderProgram shader, javax.media.opengl.GL gl)
data
- The data to be rendered for this modelMethod Detail |
---|
public void render(javax.media.opengl.GL gl)
render
in interface Object3D
gl
- gl contextpublic Object3D clone()
Object3D
clone
in interface Object3D
clone
in class java.lang.Object
Object3D.clone()
public int getListId()
public com.sun.opengl.util.texture.Texture getTexture()
public void setListId(int listId)
listId
- the listId to setpublic void setTexture(com.sun.opengl.util.texture.Texture texture)
texture
- The texture to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |