Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.rico.engine.geometry.modelloader.md2
Class MD2Frame

    java.lang.Object
      de.rico.engine.geometry.modelloader.md2.MD2Frame

    public class MD2Frame

extends java.lang.Object

This class contains the information for an animation frame of an md2 model

Author:
  Frank Bruns

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

### MD2Frame

    public MD2Frame(int number,
                    MD2Header header,
                    MD2InputStream inputStream,
                    MD2Triangle trig,
                    MD2TexCoords texCoords,
                    float scale)

  Creates a new md2 frame object with the specified frame number

  Parameters:
    `number` - number of the frame
    `header` - header of the md2 model
    `inputStream` - input stream of the md2 model
    `scale` - scale factor of the md2 model

Method Detail

### getFrameNumber

    public int getFrameNumber()

  Returns the frame number

  Returns:
    frame number

### getFaces

    public Triangle[] getFaces()

  Returns an array containing the faces of the frame

  Returns:
    array with faces of the frame

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD