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

Method setUseBaseKeyFrame

OgreMain/src/OgreAnimation.cpp:752–762  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

750 }
751 //-----------------------------------------------------------------------
752 void Animation::setUseBaseKeyFrame( bool useBaseKeyFrame, Real keyframeTime,
753 const String &baseAnimName )
754 {
755 if( useBaseKeyFrame != mUseBaseKeyFrame || keyframeTime != mBaseKeyFrameTime ||
756 baseAnimName != mBaseKeyFrameAnimationName )
757 {
758 mUseBaseKeyFrame = useBaseKeyFrame;
759 mBaseKeyFrameTime = keyframeTime;
760 mBaseKeyFrameAnimationName = baseAnimName;
761 }
762 }
763 //-----------------------------------------------------------------------
764 bool Animation::getUseBaseKeyFrame() const { return mUseBaseKeyFrame; }
765 //-----------------------------------------------------------------------

Callers 4

readAnimationMethod · 0.80
readAnimationMethod · 0.80
readAnimationsMethod · 0.80
readAnimationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected