com.jme.animation
Class BoneInfluence
java.lang.Object
com.jme.animation.BoneInfluence
- All Implemented Interfaces:
- Savable, java.io.Serializable
public class BoneInfluence
- extends java.lang.Object
- implements java.io.Serializable, Savable
The Influence class defines a pairing between a vertex and a bone. This
pairing is given a weight to define how much the bone affects the vertex.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
weight
public float weight
bone
public Bone bone
boneId
public java.lang.String boneId
vOffset
public Vector3f vOffset
nOffset
public Vector3f nOffset
BoneInfluence
public BoneInfluence()
BoneInfluence
public BoneInfluence(Bone boneIndex,
float weight)
assignBone
public void assignBone(Bone b)
equals
public boolean equals(java.lang.Object arg0)
- Overrides:
equals
in class java.lang.Object
write
public void write(JMEExporter e)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Throws:
java.io.IOException
read
public void read(JMEImporter e)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Throws:
java.io.IOException
getClassTag
public java.lang.Class getClassTag()
- Specified by:
getClassTag
in interface Savable