|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.cal3d.core.CalCoreAnimation
public class CalCoreAnimation
The core animation class.
| Field Summary | |
|---|---|
protected float |
duration
|
protected java.util.List<CalCoreTrack> |
listCoreTrack
|
protected java.lang.String |
name
|
protected java.lang.String |
resourceName
|
| Constructor Summary | |
|---|---|
CalCoreAnimation()
Constructs the core animation instance. |
|
| Method Summary | |
|---|---|
void |
addCoreTrack(CalCoreTrack coreTrack)
Adds a core track. |
CalCoreTrack |
getCoreTrack(int coreBoneId)
Provides access to a core track. |
float |
getDuration()
Returns the duration. |
java.util.List<CalCoreTrack> |
getListCoreTrack()
Returns the core track list. |
java.lang.String |
getName()
|
java.lang.String |
getResourceName()
|
void |
removeCoreTrack(int coreBoneId)
Removes a core track for a given bone ID - useful for pruning unwanted bones |
void |
scale(float factor)
Scale the core animation. |
void |
setDuration(float duration)
Sets the duration. |
void |
setName(java.lang.String name)
|
void |
setResourceName(java.lang.String resourceName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.lang.String resourceName
protected float duration
protected java.util.List<CalCoreTrack> listCoreTrack
| Constructor Detail |
|---|
public CalCoreAnimation()
| Method Detail |
|---|
public void addCoreTrack(CalCoreTrack coreTrack)
coreTrack - A pointer to the core track that should be added.public CalCoreTrack getCoreTrack(int coreBoneId)
coreBoneId - The core bone ID of the core track that should be
returned.
public void removeCoreTrack(int coreBoneId)
public void scale(float factor)
factor - A float with the scale factorpublic float getDuration()
public java.util.List<CalCoreTrack> getListCoreTrack()
public void setDuration(float duration)
duration - The duration in seconds that should be set.public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getResourceName()
public void setResourceName(java.lang.String resourceName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||