public class MorphSet
extends java.lang.Object
Constructor and Description |
---|
MorphSet()
Default constructor -- ixVertex is -1.
|
MorphSet(JAInputStream jins,
boolean hasnorm)
Constructs this MorphSet from the given stream.
|
Modifier and Type | Method and Description |
---|---|
Vector3f |
getNormal()
Returns this morph-set's normal vector.
|
float[] |
getNormalFloats()
Returns this morph-set's normal vector as an array of 3 floats.
|
Vector3f |
getOffset()
Returns this morph-set's offset (distortion) vector.
|
float[] |
getOffsetFloats()
Returns this morph-set's offset (distortion) vector as an array of 3 floats.
|
int |
getVertexId()
Returns this morph-set's vertex index.
|
float |
getWeight()
Returns this morph-set's weight.
|
void |
save(JAOutputStream jouts)
Writes this MorphSet to the given stream.
|
public MorphSet()
public MorphSet(JAInputStream jins, boolean hasnorm) throws java.io.IOException
java.io.IOException
public int getVertexId()
public float getWeight()
public Vector3f getOffset()
public Vector3f getNormal()
public float[] getOffsetFloats()
public float[] getNormalFloats()
public void save(JAOutputStream jouts) throws java.io.IOException
java.io.IOException