|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.cal3d.core.CalAnimation
public class CalAnimation
The animation class.
| Field Summary | |
|---|---|
protected CalCoreAnimation |
coreAnimation
|
protected int |
state
|
static int |
STATE_ASYNC
|
static int |
STATE_IN
|
static int |
STATE_NONE
|
static int |
STATE_OUT
|
static int |
STATE_STEADY
|
static int |
STATE_STOPPED
|
static int |
STATE_SYNC
|
protected float |
time
|
protected float |
timeFactor
|
protected int |
type
|
static int |
TYPE_ACTION
|
static int |
TYPE_CYCLE
|
static int |
TYPE_NONE
|
static int |
TYPE_POSE
|
protected float |
weight
|
| Constructor Summary | |
|---|---|
CalAnimation()
Constructs the animation instance. |
|
| Method Summary | |
|---|---|
void |
freeze(float time,
float weight)
|
CalCoreAnimation |
getCoreAnimation()
Provides access to the core animation. |
int |
getState()
Returns the state. |
float |
getTime()
Returns the time. |
float |
getTimeFactor()
Get the time factor. |
int |
getType()
Returns the type. |
float |
getWeight()
Returns the weight. |
void |
setRootDisplacement(org.openmali.vecmath2.Vector3f displacement)
Applies a displacement to the root bone throughout - useful for aligning anims in different reference frames. |
void |
setRootRotation(org.openmali.vecmath2.Quaternion4f rotation)
Applies a rotation to the root bone throughout - useful for aligning anims in different reference frames. |
void |
setTimeFactor(float timeFactor)
Set the time factor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_NONE
public static final int TYPE_CYCLE
public static final int TYPE_POSE
public static final int TYPE_ACTION
public static final int STATE_NONE
public static final int STATE_SYNC
public static final int STATE_ASYNC
public static final int STATE_IN
public static final int STATE_STEADY
public static final int STATE_OUT
public static final int STATE_STOPPED
protected CalCoreAnimation coreAnimation
protected int type
protected int state
protected float time
protected float timeFactor
protected float weight
| Constructor Detail |
|---|
public CalAnimation()
| Method Detail |
|---|
public CalCoreAnimation getCoreAnimation()
public int getState()
public float getTime()
public int getType()
public float getWeight()
public void freeze(float time,
float weight)
public float getTimeFactor()
public void setTimeFactor(float timeFactor)
timeFactor - the time factor of the animation instance.public void setRootDisplacement(org.openmali.vecmath2.Vector3f displacement)
public void setRootRotation(org.openmali.vecmath2.Quaternion4f rotation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||