|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.geometry.modelloader.md2.MD2Frame
public class MD2Frame
This class contains the information for an animation frame of an md2 model
Constructor Summary | |
---|---|
MD2Frame(int number,
MD2Header header,
MD2InputStream inputStream,
MD2Triangle trig,
MD2TexCoords texCoords,
float scale)
Creates a new md2 frame object with the specified frame number |
Method Summary | |
---|---|
Triangle[] |
getFaces()
Returns an array containing the faces of the frame |
int |
getFrameNumber()
Returns the frame number |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MD2Frame(int number, MD2Header header, MD2InputStream inputStream, MD2Triangle trig, MD2TexCoords texCoords, float scale)
number
- number of the frameheader
- header of the md2 modelinputStream
- input stream of the md2 modelscale
- scale factor of the md2 modelMethod Detail |
---|
public int getFrameNumber()
public Triangle[] getFaces()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |