|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--md3.md3model.MD3Tag
The MD3Tag class represents a so called 'tag', as they are found in the MD3 model files. Tags can be seen as references to other attached models, i.e. the weapon a player holds.
Field Summary | |
float[][] |
matrix
3x3 rotation matrix. |
java.lang.String |
name
Name of 'tag' as it's usually called in the md3 files. |
Vec3 |
position
Position of tag relative to the model that contains the tag. |
Constructor Summary | |
protected |
MD3Tag()
Constructor that creates a new empty tag object. |
protected |
MD3Tag(java.io.DataInput din)
Constructor that creates a new tag object and initializes it with the data coming from the input stream. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String name
Name of 'tag' as it's usually called in the md3 files. Try to see it as a sub-mesh/seperate mesh-part.
public Vec3 position
Position of tag relative to the model that contains the tag.
public float[][] matrix
3x3 rotation matrix.
Constructor Detail |
protected MD3Tag(java.io.DataInput din) throws java.io.IOException
Constructor that creates a new tag object and initializes it with the data coming from the input stream.
protected MD3Tag()
Constructor that creates a new empty tag object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |