org.jagatoo.loaders.models.collada.stax
Class XMLSkin
java.lang.Object
org.jagatoo.loaders.models.collada.stax.XMLSkin
public class XMLSkin
- extends java.lang.Object
A Skin. It defines how skeletal animation should be computed.
Child of Controller.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
public java.lang.String source
bindShapeMatrix
public XMLMatrix4x4 bindShapeMatrix
sources
public java.util.ArrayList<XMLSource> sources
jointsInputs
public java.util.ArrayList<XMLInput> jointsInputs
vertexWeights
public XMLVertexWeights vertexWeights
XMLSkin
public XMLSkin()
getJointsSource
public XMLSource getJointsSource()
- Search the "skin-joints" source.
Maybe there is a better way get that
getWeightsSource
public XMLSource getWeightsSource()
- Search the "skin-weights" source.
Maybe there is a better way get that
buildInfluences
public void buildInfluences(Skeleton skeleton,
int numVertices)
getInfluencesForVertex
public Influence[] getInfluencesForVertex(int vertexIndex)
- Build an array of BoneWeight for easy skinning manipulation
parse
public void parse(javax.xml.stream.XMLStreamReader parser)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
getJointInputs
public java.util.ArrayList<XMLInput> getJointInputs(javax.xml.stream.XMLStreamReader parser)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException