|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFrame
IFrame defines the interface of a single frame of a
skeletal animation. It maintains the translation and orientation
of the entire skeleton at a particular frame in the animation.
| Method Summary | |
|---|---|
IFrame |
clone()
Clone this frame. |
com.jme.math.Quaternion |
getOrientation(int jointIndex)
Retrieve the orientation of the Joint with given index. |
float |
getTransformValue(int jointIndex,
int transIndex)
Retrieve the transform value with given indices. |
com.jme.math.Vector3f |
getTranslation(int jointIndex)
Retrieve the translation of the Joint with given index. |
void |
setTransform(int jointIndex,
int index,
float value)
Set the transform of this frame. |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag, read, write |
| Method Detail |
|---|
void setTransform(int jointIndex,
int index,
float value)
jointIndex - The Integer index of the joint.index - The Integer transform index number.value - The Float transform value to be set.com.jme.math.Vector3f getTranslation(int jointIndex)
Joint with given index.
jointIndex - The Joint index number.
Vector3f translation value.com.jme.math.Quaternion getOrientation(int jointIndex)
Joint with given index.
jointIndex - The Joint number.
Quaternion orientation value.
float getTransformValue(int jointIndex,
int transIndex)
jointIndex - The Integer joint index.transIndex - The Integer transform index.
Float transform value.IFrame clone()
IFrame instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||