|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threed.jpct.skeleton.VertexAssignment
public class VertexAssignment
Encapsulates a vertex assignment. This class, by default, permits 4 bones, and vertex weights.
| Constructor Summary | |
|---|---|
VertexAssignment()
|
|
| Method Summary | |
|---|---|
void |
addBone(SimpleBone bone,
float weight)
Adds a bone to the assignment array. |
boolean |
assignedTo(SimpleBone bone)
Returns true if the bone has been assigned, and false if the bone is not assigned. |
boolean |
hasAssignedBones()
Returns true if there are bones assigned, false otherwise. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VertexAssignment()
| Method Detail |
|---|
public void addBone(SimpleBone bone,
float weight)
bone - Bone to add to list.weight - Weight of assignment.public boolean assignedTo(SimpleBone bone)
bone - Bone to check assignment of
public boolean hasAssignedBones()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||