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

Method createAnimController

OgreMain/src/OgreTextureUnitState.cpp:1110–1118  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1108 }
1109 //-----------------------------------------------------------------------
1110 void TextureUnitState::createAnimController()
1111 {
1112 if( mAnimController )
1113 {
1114 ControllerManager::getSingleton().destroyController( mAnimController );
1115 mAnimController = 0;
1116 }
1117 mAnimController = ControllerManager::getSingleton().createTextureAnimator( this, mAnimDuration );
1118 }
1119 //-----------------------------------------------------------------------
1120 void TextureUnitState::createEffectController( TextureEffect &effect )
1121 {

Callers

nothing calls this directly

Calls 2

destroyControllerMethod · 0.80
createTextureAnimatorMethod · 0.80

Tested by

no test coverage detected