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 Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionMd2Header(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
-
magic
identifier of the file: magic number: "IDP2" -
version
version number of the file (must be 8) -
skinWidth
texture width in pixels -
skinHeight
texture height in pixels -
frameSize
size in bytes of a frame -
numSkins
number of textures associated with the model -
numVertices
number of vertices per frame -
numTexCoords
number of texture coordinates -
numTriangles
number of triangles -
numGlCommands
number of gl commands -
numFrames
number of animation frames -
offsetSkins
offset in the file for the texture data -
offsetTexCoords
offset in the file for the texture coords -
offsetTriangles
offset in the file for the face data -
offsetFrames
offset in the file for the frames data -
offsetGlCommands
offset in the file for the gl commands data -
offsetEnd
offset of EOF
-
-
Constructor Details
-
Md2Header
Md2Header(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)
-