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

Method applyToNode

OgreMain/src/OgreAnimation.cpp:385–397  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

383 }
384 //---------------------------------------------------------------------
385 void Animation::applyToNode( OldNode *node, Real timePos, Real weight, Real scale )
386 {
387 _applyBaseKeyFrame();
388
389 // Calculate time index for fast keyframe search
390 TimeIndex timeIndex = _getTimeIndex( timePos );
391
392 OldNodeTrackList::iterator i;
393 for( i = mOldNodeTrackList.begin(); i != mOldNodeTrackList.end(); ++i )
394 {
395 i->second->applyToNode( node, timeIndex, weight, scale );
396 }
397 }
398 //---------------------------------------------------------------------
399 void Animation::apply( Skeleton *skel, Real timePos, Real weight, Real scale )
400 {

Callers 1

applyMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected