com.threerings.opengl.model.tools
Class ModelDef.BoneWeight

java.lang.Object
  extended by com.threerings.opengl.model.tools.ModelDef.BoneWeight
All Implemented Interfaces:
Comparable<ModelDef.BoneWeight>
Enclosing class:
ModelDef

public static class ModelDef.BoneWeight
extends Object
implements Comparable<ModelDef.BoneWeight>

The influence of a single bone on a vertex.


Field Summary
 String bone
          The name of the influencing bone.
 float weight
          The amount of influence.
 
Constructor Summary
ModelDef.BoneWeight()
           
 
Method Summary
 int compareTo(ModelDef.BoneWeight other)
           
 boolean equals(Object other)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bone

public String bone
The name of the influencing bone.


weight

public float weight
The amount of influence.

Constructor Detail

ModelDef.BoneWeight

public ModelDef.BoneWeight()
Method Detail

compareTo

public int compareTo(ModelDef.BoneWeight other)
Specified by:
compareTo in interface Comparable<ModelDef.BoneWeight>

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.