|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--md3.md3model.MD3Model | +--md3.md3view.MD3GLModel
This class extends MD3Model objects with animation state data.
Field Summary | |
int |
currentFrame
Currently rendered animation key frame of this model. |
float |
interpolationFraction
Interpolation position between currentFrame and nextFrame. |
int |
nextFrame
Next animation key frame of the model. |
Fields inherited from class md3.md3model.MD3Model |
boneFrameNum,
boneFrames,
boneFrameStart,
filename,
fileSize,
id,
linkedModels,
loadFilename,
maxTextureNum,
meshes,
meshNum,
meshStart,
tagNum,
tagStart,
version |
Constructor Summary | |
protected |
MD3GLModel(java.lang.String filename)
|
protected |
MD3GLModel(java.lang.String name,
java.io.InputStream in)
|
Method Summary | |
void |
accept(MD3GLModelVisitor v)
|
Methods inherited from class md3.md3model.MD3Model |
accept,
addLinkedModel,
animated,
getParent,
getParentTagIndex,
getTagIndexByName,
linkedModels,
removeLinkedModel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int currentFrame
Currently rendered animation key frame of this model. Note that this model could actually be only a part of a larger model. Every part has its own current frame!
public int nextFrame
Next animation key frame of the model.
public transient float interpolationFraction
Interpolation position between currentFrame and nextFrame. The value should be in the interval [0,1]!
Constructor Detail |
protected MD3GLModel(java.lang.String filename) throws java.io.IOException
protected MD3GLModel(java.lang.String name, java.io.InputStream in) throws java.io.IOException
Method Detail |
public void accept(MD3GLModelVisitor v)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |