|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.cal3d.core.CalCoreTrack
public class CalCoreTrack
The core track class.
| Field Summary | |
|---|---|
protected int |
coreBoneId
|
protected java.util.SortedSet<CalCoreKeyframe> |
coreKeyframes
|
| Constructor Summary | |
|---|---|
CalCoreTrack()
Constructs the core track instance. |
|
CalCoreTrack(int coreBoneId)
|
|
| Method Summary | |
|---|---|
void |
addCoreKeyframe(CalCoreKeyframe coreKeyframe)
Adds a core keyframe. |
int |
getCoreBoneId()
Returns the ID of the core bone. |
java.util.SortedSet<CalCoreKeyframe> |
getCoreKeyFrames()
Returns the core keyframe map. |
void |
getState(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Quaternion4f rotation)
Returns a specified state. |
void |
scale(float factor)
Scale the core track. |
void |
setCoreBoneId(int coreBoneId)
Sets the ID of the core bone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int coreBoneId
protected java.util.SortedSet<CalCoreKeyframe> coreKeyframes
| Constructor Detail |
|---|
public CalCoreTrack()
public CalCoreTrack(int coreBoneId)
| Method Detail |
|---|
public void addCoreKeyframe(CalCoreKeyframe coreKeyframe)
coreKeyframe - A pointer to the core keyframe that should be added.public int getCoreBoneId()
public java.util.SortedSet<CalCoreKeyframe> getCoreKeyFrames()
public void getState(float time,
org.openmali.vecmath2.Vector3f translation,
org.openmali.vecmath2.Quaternion4f rotation)
time - The time in seconds at which the state should be returned.translation - A reference to the translation reference that will be
filled with the specified state.rotation - A reference to the rotation reference that will be filled
with the specified state.public void setCoreBoneId(int coreBoneId)
coreBoneId - The ID of the bone to which the core track instance should
be attached to.public void scale(float factor)
factor - A float with the scale factor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||