|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnimationState
| Nested Class Summary | |
|---|---|
static interface |
IAnimationState.IBoneBlendMask
|
| Method Summary | |
|---|---|
void |
_setBlendMask(IAnimationState.IBoneBlendMask blendMask)
|
void |
_setBlendMaskData(FloatPointer blendMaskData)
|
void |
addTime(float offset)
Modifies the time position, adjusting for animation length |
void |
copyStateFrom(IAnimationState animState)
Copies the states from another animation state, preserving the animation name (unlike operator=) but copying everything else. |
void |
createBlendMask(int blendMaskSizeHint,
float initialWeight)
In addition to assigning a single weight value to a skeletal animation, it may be desirable to assign animation weights per bone using a 'blend mask'. |
void |
destroyBlendMask()
|
java.lang.String |
getAnimationName()
|
IAnimationState.IBoneBlendMask |
getBlendMask()
|
float |
getBlendMaskEntry(int boneHandle)
|
boolean |
getEnabled()
|
float |
getLength()
|
boolean |
getLoop()
|
IAnimationStateSet |
getParent()
|
float |
getTimePosition()
|
float |
getWeight()
|
boolean |
hasBlendMask()
|
boolean |
hasEnded()
|
boolean |
operatorEqual(IAnimationState rhs)
|
boolean |
operatorNotEqual(IAnimationState rhs)
|
void |
setBlendMaskEntry(int boneHandle,
float weight)
|
void |
setEnabled(boolean enabled)
|
void |
setLength(float len)
|
void |
setLoop(boolean loop)
Sets whether or not an animation loops at the start and end of the animation if the time continues to be altered. |
void |
setTimePosition(float timePos)
|
void |
setWeight(float weight)
|
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
java.lang.String getAnimationName()
float getTimePosition()
void setTimePosition(float timePos)
float getLength()
void setLength(float len)
float getWeight()
void setWeight(float weight)
void addTime(float offset)
boolean hasEnded()
boolean getEnabled()
void setEnabled(boolean enabled)
boolean operatorEqual(IAnimationState rhs)
boolean operatorNotEqual(IAnimationState rhs)
void setLoop(boolean loop)
boolean getLoop()
void copyStateFrom(IAnimationState animState)
IAnimationStateSet getParent()
void createBlendMask(int blendMaskSizeHint,
float initialWeight)
void destroyBlendMask()
void _setBlendMaskData(FloatPointer blendMaskData)
void _setBlendMask(IAnimationState.IBoneBlendMask blendMask)
IAnimationState.IBoneBlendMask getBlendMask()
boolean hasBlendMask()
void setBlendMaskEntry(int boneHandle,
float weight)
float getBlendMaskEntry(int boneHandle)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||