|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.collada.COLLADAAction
public class COLLADAAction
A COLLADA "Action", or "Animation" or "Animation clip" or "Animation strip", whatever you call it : it's a "piece of movement" you can play on your model.
| Field Summary | |
|---|---|
java.util.HashMap<Bone,java.util.ArrayList<KeyFrameQuat4f>> |
rotKeyFrames
Rotation key frames, per bone. |
java.util.HashMap<Bone,java.util.ArrayList<KeyFrameTuple3f>> |
scaleKeyFrames
Scale key frames, per bone. |
java.util.ArrayList<KeyFrameTuple3f> |
transKeyFrames
Translation key frames : if any, define the movement of the Skeleton itself (e.g. moves the whole model) |
| Constructor Summary | |
|---|---|
COLLADAAction(java.lang.String id)
Creates a new COLLADAAction. |
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
|
Skeleton |
getSkeleton()
|
void |
prepareBones()
Loops through each bone of the skeleton and completes their temp key frames arrays. |
void |
setSkeleton(Skeleton skeleton)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.util.ArrayList<KeyFrameTuple3f> transKeyFrames
public final java.util.HashMap<Bone,java.util.ArrayList<KeyFrameQuat4f>> rotKeyFrames
public final java.util.HashMap<Bone,java.util.ArrayList<KeyFrameTuple3f>> scaleKeyFrames
| Constructor Detail |
|---|
public COLLADAAction(java.lang.String id)
id - the id of this COLLADA Action| Method Detail |
|---|
public java.lang.String getId()
public void setSkeleton(Skeleton skeleton)
skeleton - the skeleton to setpublic Skeleton getSkeleton()
public void prepareBones()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||