Package com.ardor3d.extension.model.md2
Class Md2Header
java.lang.Object
com.ardor3d.extension.model.md2.Md2Header
Header of MD2: see also http://tfc.duke.free.fr/coding/md2-specs-en.html
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) final intsize in bytes of a frame(package private) final intidentifier of the file: magic number: "IDP2"(package private) final intnumber of animation frames(package private) final intnumber of gl commands(package private) final intnumber of textures associated with the model(package private) final intnumber of texture coordinates(package private) final intnumber of triangles(package private) final intnumber of vertices per frame(package private) final intoffset of EOF(package private) final intoffset in the file for the frames data(package private) final intoffset in the file for the gl commands data(package private) final intoffset in the file for the texture data(package private) final intoffset in the file for the texture coords(package private) final intoffset in the file for the face data(package private) final inttexture height in pixels(package private) final inttexture width in pixels(package private) final intversion number of the file (must be 8)
- 
Constructor SummaryConstructorsConstructorDescriptionMd2Header(int magic, int version, int skinWidth, int skinHeight, int frameSize, int numSkins, int numVertices, int numTexCoords, int numTriangles, int numGlCommands, int numFrames, int offsetSkins, int offsetTexCoords, int offsetTriangles, int offsetFrames, int offsetGlCommands, int offsetEnd) 
- 
Method Summary
- 
Field Details- 
magicidentifier of the file: magic number: "IDP2"
- 
versionversion number of the file (must be 8)
- 
skinWidthtexture width in pixels
- 
skinHeighttexture height in pixels
- 
frameSizesize in bytes of a frame
- 
numSkinsnumber of textures associated with the model
- 
numVerticesnumber of vertices per frame
- 
numTexCoordsnumber of texture coordinates
- 
numTrianglesnumber of triangles
- 
numGlCommandsnumber of gl commands
- 
numFramesnumber of animation frames
- 
offsetSkinsoffset in the file for the texture data
- 
offsetTexCoordsoffset in the file for the texture coords
- 
offsetTrianglesoffset in the file for the face data
- 
offsetFramesoffset in the file for the frames data
- 
offsetGlCommandsoffset in the file for the gl commands data
- 
offsetEndoffset of EOF
 
- 
- 
Constructor Details- 
Md2HeaderMd2Header(int magic, int version, int skinWidth, int skinHeight, int frameSize, int numSkins, int numVertices, int numTexCoords, int numTriangles, int numGlCommands, int numFrames, int offsetSkins, int offsetTexCoords, int offsetTriangles, int offsetFrames, int offsetGlCommands, int offsetEnd) 
 
-