MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / getKeyFrame

Method getKeyFrame

OgreMain/src/OgreAnimationTrack.cpp:72–78  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

70 }
71 //---------------------------------------------------------------------
72 KeyFrame *AnimationTrack::getKeyFrame( unsigned short index ) const
73 {
74 // If you hit this assert, then the keyframe index is out of bounds
75 assert( index < (ushort)mKeyFrames.size() );
76
77 return mKeyFrames[index];
78 }
79 //---------------------------------------------------------------------
80 Real AnimationTrack::getKeyFramesAtTime( const TimeIndex &timeIndex, KeyFrame **keyFrame1,
81 KeyFrame **keyFrame2,

Callers 1

buildMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected