|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnimation
| Nested Class Summary | |
|---|---|
static interface |
IAnimation.IKeyFrameTimeList
|
static interface |
IAnimation.INodeTrackIterator
|
static interface |
IAnimation.INodeTrackList
|
static interface |
IAnimation.INumericTrackIterator
|
static interface |
IAnimation.INumericTrackList
|
static interface |
IAnimation.ITrackHandleList
|
static interface |
IAnimation.IVertexTrackIterator
|
static interface |
IAnimation.IVertexTrackList
|
| Method Summary | |
|---|---|
void |
_collectIdentityNodeTracks(IAnimation.ITrackHandleList tracks)
Internal method for collecting identity node tracks. |
void |
_destroyNodeTracks(IAnimation.ITrackHandleList tracks)
Internal method for destroy given node tracks. |
IAnimation.INodeTrackList |
_getNodeTrackList()
|
IAnimation.INumericTrackList |
_getNumericTrackList()
|
void |
_getTimeIndex(ITimeIndex returnValue,
float timePos)
Internal method used to convert time position to time index object. |
IAnimation.IVertexTrackList |
_getVertexTrackList()
|
void |
_keyFrameListChanged()
Internal method used to tell the animation that keyframe list has been changed, which may cause it to rebuild some internal data |
void |
apply(float timePos,
float weight,
float scale)
Applies an animation given a specific time point and weight. |
void |
apply(IEntity entity,
float timePos,
float weight,
boolean software,
boolean hardware)
Applies all vertex tracks given a specific time point and weight to a given entity. |
void |
apply(ISkeleton skeleton,
float timePos,
float weight,
float scale)
Applies all node tracks given a specific time point and weight to a given skeleton. |
void |
apply(ISkeleton skeleton,
float timePos,
float weight,
IAnimationState.IBoneBlendMask blendMask,
float scale)
Applies all node tracks given a specific time point and weight to a given skeleton. |
IAnimation |
clone(java.lang.String newName)
Clone this animation. |
INodeAnimationTrack |
createNodeTrack(int handle)
Creates a for animating a . |
INodeAnimationTrack |
createNodeTrack(int handle,
INode node)
Creates a new automatically associated with a . |
INumericAnimationTrack |
createNumericTrack(int handle)
Creates a for animating any numeric value. |
INumericAnimationTrack |
createNumericTrack(int handle,
IAnimableValuePtr anim)
Creates a and associates it with an animable. |
IVertexAnimationTrack |
createVertexTrack(int handle,
IVertexData data,
VertexAnimationType animType)
Creates a and associates it with . |
IVertexAnimationTrack |
createVertexTrack(int handle,
VertexAnimationType animType)
Creates a for animating vertex position data. |
void |
destroyAllNodeTracks()
Removes and destroys all tracks making up this animation. |
void |
destroyAllNumericTracks()
Removes and destroys all tracks making up this animation. |
void |
destroyAllTracks()
Removes and destroys all tracks making up this animation. |
void |
destroyAllVertexTracks()
Removes and destroys all tracks making up this animation. |
void |
destroyNodeTrack(int handle)
Destroys the node track with the given handle. |
void |
destroyNumericTrack(int handle)
Destroys the numeric track with the given handle. |
void |
destroyVertexTrack(int handle)
Destroys the Vertex track with the given handle. |
Animation.InterpolationMode |
getInterpolationMode()
Gets the current interpolation mode of this animation. |
float |
getLength()
Gets the total length of the animation. |
java.lang.String |
getName()
Gets the name of this animation. |
INodeAnimationTrack |
getNodeTrack(int handle)
Gets a node track by it's handle. |
void |
getNodeTrackIterator(IAnimation.INodeTrackIterator returnValue)
|
INumericAnimationTrack |
getNumericTrack(int handle)
Gets a numeric track by it's handle. |
void |
getNumericTrackIterator(IAnimation.INumericTrackIterator returnValue)
|
int |
getNumNodeTracks()
Gets the number of objects contained in this animation. |
int |
getNumNumericTracks()
Gets the number of objects contained in this animation. |
int |
getNumVertexTracks()
Gets the number of objects contained in this animation. |
Animation.RotationInterpolationMode |
getRotationInterpolationMode()
Gets the current rotation interpolation mode of this animation. |
IVertexAnimationTrack |
getVertexTrack(int handle)
Gets a Vertex track by it's handle. |
void |
getVertexTrackIterator(IAnimation.IVertexTrackIterator returnValue)
|
boolean |
hasNodeTrack(int handle)
Does a track exist with the given handle? |
boolean |
hasNumericTrack(int handle)
Does a track exist with the given handle? |
boolean |
hasVertexTrack(int handle)
Does a track exist with the given handle? |
void |
optimise(boolean discardIdentityNodeTracks)
Optimise an animation by removing unnecessary tracks and keyframes. |
void |
setInterpolationMode(Animation.InterpolationMode im)
Tells the animation how to interpolate between keyframes. |
void |
setLength(float len)
Sets the length of the animation. |
void |
setRotationInterpolationMode(Animation.RotationInterpolationMode im)
Tells the animation how to interpolate rotations. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
java.lang.String getName()
float getLength()
void setLength(float len)
INodeAnimationTrack createNodeTrack(int handle)
INumericAnimationTrack createNumericTrack(int handle)
IVertexAnimationTrack createVertexTrack(int handle,
VertexAnimationType animType)
INodeAnimationTrack createNodeTrack(int handle,
INode node)
INumericAnimationTrack createNumericTrack(int handle,
IAnimableValuePtr anim)
IVertexAnimationTrack createVertexTrack(int handle,
IVertexData data,
VertexAnimationType animType)
int getNumNodeTracks()
INodeAnimationTrack getNodeTrack(int handle)
boolean hasNodeTrack(int handle)
int getNumNumericTracks()
INumericAnimationTrack getNumericTrack(int handle)
boolean hasNumericTrack(int handle)
int getNumVertexTracks()
IVertexAnimationTrack getVertexTrack(int handle)
boolean hasVertexTrack(int handle)
void destroyNodeTrack(int handle)
void destroyNumericTrack(int handle)
void destroyVertexTrack(int handle)
void destroyAllTracks()
void destroyAllNodeTracks()
void destroyAllNumericTracks()
void destroyAllVertexTracks()
void apply(float timePos,
float weight,
float scale)
void apply(ISkeleton skeleton,
float timePos,
float weight,
float scale)
void apply(ISkeleton skeleton,
float timePos,
float weight,
IAnimationState.IBoneBlendMask blendMask,
float scale)
void apply(IEntity entity,
float timePos,
float weight,
boolean software,
boolean hardware)
void setInterpolationMode(Animation.InterpolationMode im)
Animation.InterpolationMode getInterpolationMode()
void setRotationInterpolationMode(Animation.RotationInterpolationMode im)
Animation.RotationInterpolationMode getRotationInterpolationMode()
IAnimation.INodeTrackList _getNodeTrackList()
void getNodeTrackIterator(IAnimation.INodeTrackIterator returnValue)
IAnimation.INumericTrackList _getNumericTrackList()
void getNumericTrackIterator(IAnimation.INumericTrackIterator returnValue)
IAnimation.IVertexTrackList _getVertexTrackList()
void getVertexTrackIterator(IAnimation.IVertexTrackIterator returnValue)
void optimise(boolean discardIdentityNodeTracks)
void _collectIdentityNodeTracks(IAnimation.ITrackHandleList tracks)
void _destroyNodeTracks(IAnimation.ITrackHandleList tracks)
IAnimation clone(java.lang.String newName)
void _keyFrameListChanged()
void _getTimeIndex(ITimeIndex returnValue,
float timePos)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||