|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INodeAnimationTrack
| Nested Class Summary | |
|---|---|
static interface |
INodeAnimationTrack.ISplines
|
| Nested classes/interfaces inherited from interface org.ogre4j.IAnimationTrack |
|---|
IAnimationTrack.IKeyFrameIndexMap, IAnimationTrack.IKeyFrameList, IAnimationTrack.IListener |
| Method Summary | |
|---|---|
INodeAnimationTrack |
_clone(IAnimation newParent)
Clone this track (internal use only) |
void |
_keyFrameDataChanged()
Internal method used to tell the track that keyframe data has been changed, which may cause it to rebuild some internal data. |
void |
apply(ITimeIndex timeIndex,
float weight,
float scale)
Applies an animation track to the designated target. |
void |
applyToNode(INode node,
ITimeIndex timeIndex,
float weight,
float scale)
As the 'apply' method but applies to a specified instead of associated node. |
ITransformKeyFrame |
createNodeKeyFrame(float timePos)
Creates a new and adds it to this animation at the given time index. |
INode |
getAssociatedNode()
Returns a pointer to the associated object (if any). |
void |
getInterpolatedKeyFrame(ITimeIndex timeIndex,
IKeyFrame kf)
Gets a object which contains the interpolated transforms at the time index specified. |
ITransformKeyFrame |
getNodeKeyFrame(int index)
Returns the at the specified index. |
boolean |
getUseShortestRotationPath()
Gets the method of rotation calculation |
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 |
setAssociatedNode(INode node)
Sets the associated object which will be automatically affected by calls to 'apply'. |
void |
setUseShortestRotationPath(boolean useShortestPath)
Sets the method of rotation calculation |
| Methods inherited from interface org.ogre4j.IAnimationTrack |
|---|
_buildKeyFrameIndexMap, _collectKeyFrameTimes, 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 |
|---|
ITransformKeyFrame createNodeKeyFrame(float timePos)
INode getAssociatedNode()
void setAssociatedNode(INode node)
void applyToNode(INode node,
ITimeIndex timeIndex,
float weight,
float scale)
void setUseShortestRotationPath(boolean useShortestPath)
boolean getUseShortestRotationPath()
void getInterpolatedKeyFrame(ITimeIndex timeIndex,
IKeyFrame kf)
IAnimationTrack
getInterpolatedKeyFrame in interface IAnimationTrack
void apply(ITimeIndex timeIndex,
float weight,
float scale)
IAnimationTrack
apply in interface IAnimationTrackvoid _keyFrameDataChanged()
IAnimationTrack
_keyFrameDataChanged in interface IAnimationTrackITransformKeyFrame getNodeKeyFrame(int index)
boolean hasNonZeroKeyFrames()
hasNonZeroKeyFrames in interface IAnimationTrackvoid optimise()
optimise in interface IAnimationTrackINodeAnimationTrack _clone(IAnimation newParent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||