|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.animation.JointController.PointInTime
At a point in time is defined by time . JointController will
change joint i to the rotation jointRotation[i]
and translation jointTranslation[i] at the point in time
time
| Field Summary | |
Quaternion[] |
jointRotation
Array of rotations for this PointInTime. |
Vector3f[] |
jointTranslation
Array of translations for this PointInTime. |
float |
time
The time represented by this PointInTime. |
java.util.BitSet |
usedRot
The bitsets specify if the translation/rotation was specified externally, or if it was interpolated. |
java.util.BitSet |
usedTrans
The bitsets specify if the translation/rotation was specified externally, or if it was interpolated. |
| Constructor Summary | |
JointController.PointInTime(int time)
Constructs a new PointInTime at the given time. |
|
| Method Summary | |
void |
setRotation(int jointIndex,
Quaternion quaternion)
Sets for the given joint to have the given rotation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public float time
public Vector3f[] jointTranslation
public Quaternion[] jointRotation
public java.util.BitSet usedTrans
public java.util.BitSet usedRot
| Constructor Detail |
public JointController.PointInTime(int time)
time - The time for the new PointInTime.| Method Detail |
public void setRotation(int jointIndex,
Quaternion quaternion)
jointIndex - The joint index.quaternion - The rotation for this point in time.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||