|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVertexAnimationTrack
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ogre4j.IAnimationTrack |
|---|
IAnimationTrack.IKeyFrameIndexMap, IAnimationTrack.IKeyFrameList, IAnimationTrack.IListener |
| Method Summary | |
|---|---|
IVertexAnimationTrack |
_clone(IAnimation newParent)
Clone this track (internal use only) |
void |
apply(ITimeIndex timeIndex,
float weight,
float scale)
Applies an animation track to the designated target. |
void |
applyToVertexData(IVertexData data,
ITimeIndex timeIndex,
float weight,
IPoseList poseList)
As the 'apply' method but applies to specified instead of associated data. |
IVertexMorphKeyFrame |
createVertexMorphKeyFrame(float timePos)
Creates a new morph and adds it to this animation at the given time index. |
IVertexPoseKeyFrame |
createVertexPoseKeyFrame(float timePos)
Creates the single pose and adds it to this animation. |
VertexAnimationType |
getAnimationType()
Get the type of vertex animation we're performing. |
IVertexData |
getAssociatedVertexData()
Gets the associated which this track will update. |
void |
getInterpolatedKeyFrame(ITimeIndex timeIndex,
IKeyFrame kf)
This method in fact does nothing, since interpolation is not performed inside the keyframes for this type of track. |
VertexAnimationTrack.TargetMode |
getTargetMode()
|
IVertexMorphKeyFrame |
getVertexMorphKeyFrame(int index)
Returns the morph at the specified index. |
IVertexPoseKeyFrame |
getVertexPoseKeyFrame(int index)
Returns the pose at the specified index. |
boolean |
hasNonZeroKeyFrames()
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to determine if this track can be optimised out. |
void |
optimise()
Optimise the current track by removing any duplicate keyframes. |
void |
setAssociatedVertexData(IVertexData data)
Sets the associated which this track will update. |
void |
setTargetMode(VertexAnimationTrack.TargetMode m)
|
| Methods inherited from interface org.ogre4j.IAnimationTrack |
|---|
_buildKeyFrameIndexMap, _collectKeyFrameTimes, _keyFrameDataChanged, createKeyFrame, getHandle, getKeyFrame, getKeyFramesAtTime, getNumKeyFrames, getParent, removeAllKeyFrames, removeKeyFrame, setListener |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
VertexAnimationType getAnimationType()
IVertexMorphKeyFrame createVertexMorphKeyFrame(float timePos)
IVertexPoseKeyFrame createVertexPoseKeyFrame(float timePos)
void getInterpolatedKeyFrame(ITimeIndex timeIndex,
IKeyFrame kf)
getInterpolatedKeyFrame in interface IAnimationTrack
void apply(ITimeIndex timeIndex,
float weight,
float scale)
IAnimationTrack
apply in interface IAnimationTrack
void applyToVertexData(IVertexData data,
ITimeIndex timeIndex,
float weight,
IPoseList poseList)
IVertexMorphKeyFrame getVertexMorphKeyFrame(int index)
IVertexPoseKeyFrame getVertexPoseKeyFrame(int index)
void setAssociatedVertexData(IVertexData data)
IVertexData getAssociatedVertexData()
void setTargetMode(VertexAnimationTrack.TargetMode m)
VertexAnimationTrack.TargetMode getTargetMode()
boolean hasNonZeroKeyFrames()
hasNonZeroKeyFrames in interface IAnimationTrackvoid optimise()
optimise in interface IAnimationTrackIVertexAnimationTrack _clone(IAnimation newParent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||