com.jme.animation
Class BoneInfluence

java.lang.Object
  extended by 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

Field Summary
 Bone bone
           
 java.lang.String boneId
           
 Vector3f nOffset
           
 Vector3f vOffset
           
 float weight
           
 
Constructor Summary
BoneInfluence()
           
BoneInfluence(Bone boneIndex, float weight)
           
 
Method Summary
 void assignBone(Bone b)
           
 boolean equals(java.lang.Object arg0)
           
 java.lang.Class getClassTag()
           
 void read(JMEImporter e)
           
 void write(JMEExporter e)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weight

public float weight

bone

public Bone bone

boneId

public java.lang.String boneId

vOffset

public Vector3f vOffset

nOffset

public Vector3f nOffset
Constructor Detail

BoneInfluence

public BoneInfluence()

BoneInfluence

public BoneInfluence(Bone boneIndex,
                     float weight)
Method Detail

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