|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjarp.MorphSet
public class MorphSet
A morph-definition element for a Java ARP avatar, specifying a mesh vertex and an offset (for a "shape" morph), or a weight (for a "landmark" morph).
Constructor Summary | |
---|---|
MorphSet()
Default constructor -- ixVertex is -1. |
|
MorphSet(JAInputStream jins)
Constructs this MorphSet from the given stream. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MorphSet()
public MorphSet(JAInputStream jins) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int getVertexId()
public float getWeight()
public Vector3f getOffset()
public float[] getOffsetFloats()
public void save(JAOutputStream jouts) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |