SO3Engine
|
SCOLFlashControl.cpp
Go to the documentation of this file.
126 mFlashControl = static_cast<SFlashWidget*> (SWidgetManager::getSingleton().CreateWidget(scene, name, leftPos, topPos, w, h, viewport, z, SO3_FLASH_WIDGET_TYPE));
230 mFlashControl = static_cast<SFlashWidget*> (SWidgetManager::getSingleton().CreateWidget(scene, name, leftPos, topPos, w, h, viewport, SO3_FLASH_WIDGET_TYPE));
315 MMechostr(MSKDEBUG, "SO3FlashControlCreateOnMaterial : %s already have a widget on it!\n", material->GetName().c_str());
330 Ogre::LogManager::getSingleton().logMessage("Can't load Flash Control : Material BaseWhite is Protected!", Ogre::LML_CRITICAL, true) ;
338 Ogre::LogManager::getSingleton().logMessage("Can't load Flash Control : Material has not enough Technique! ", Ogre::LML_CRITICAL, true) ;
345 Ogre::LogManager::getSingleton().logMessage("Can't load Flash Control : Material has not enough Pass! ", Ogre::LML_CRITICAL, true) ;
350 if((material->getOgreMaterialPointer()->getTechnique(tec)->getPass(pass)->getNumTextureUnitStates())==0)
352 Ogre::LogManager::getSingleton().logMessage("Can't load Flash Control : Material has not enough Texture! ", Ogre::LML_CRITICAL, true) ;
357 if((material->getOgreMaterialPointer()->getTechnique(tec)->getPass(pass)->getNumTextureUnitStates())<index+1)
359 Ogre::LogManager::getSingleton().logMessage("Can't load Flash Control : Material has not enough Texture! ", Ogre::LML_CRITICAL, true) ;
367 mFlashControl = static_cast<SFlashWidget*> (SWidgetManager::getSingleton().CreateWidget(scene, name, MTOI(w), MTOI(h), material, tec, pass, index, SO3_FLASH_WIDGET_TYPE/*pos, z*/));
847 { "SO3FlashControlCreate", 8, "fun [SO3_SCENE SO3_VIEWPORT S I I I I I] SO3_WIDGET", SO3FlashControlCreate },
848 { "SO3FlashControlCreateBackground", 7, "fun [SO3_SCENE SO3_VIEWPORT S I I I I] SO3_WIDGET", SO3FlashControlCreateBackground },
849 { "SO3FlashControlCreateOnMaterial", 8, "fun [SO3_SCENE SO3_MATERIAL S I I I I I] SO3_WIDGET", SO3FlashControlCreateOnMaterial },
int SCOLloadFlashControl(mmachine m, cbmachine w)
Load the SO3Engine Viewport function.
Definition SCOLFlashControl.cpp:866
MMechostr(MSKDEBUG, " > Start loading Plugin SO3Engine dll\n")
int SO3FlashControlGetQuality(mmachine m)
SO3FlashControlGetQuality : Get the rendering quality of a flash control.
Definition SCOLFlashControl.cpp:478
int SO3FlashControlRewind(mmachine m)
SO3FlashControlRewind : To Rewind a flash control.
Definition SCOLFlashControl.cpp:695
int SO3FlashControlStop(mmachine m)
SO3FlashControlStop : To Stop a flash control.
Definition SCOLFlashControl.cpp:802
int SO3FlashControlGoToFrame(mmachine m)
SO3FlashControlGoToFrame : Go to a given flash frame.
Definition SCOLFlashControl.cpp:748
int SO3FlashControlSetQuality(mmachine m)
SO3FlashControlSetQuality : defines the rendering quality for a flash control.
Definition SCOLFlashControl.cpp:416
int SO3FlashControlCreateBackground(mmachine m)
SO3FlashControlCreateBackground : Create a new flash control.
Definition SCOLFlashControl.cpp:175
int SO3FlashControlSetScaleMode(mmachine m)
SO3FlashControlSetScaleMode : defines scale mode for a flash control.
Definition SCOLFlashControl.cpp:589
int SO3FlashControlPlay(mmachine m)
SO3FlashControlPlay : To play a flash control.
Definition SCOLFlashControl.cpp:643
int SO3FlashControlGetScaleMode(mmachine m)
SO3FlashControlGetScaleMode : Get the scale mode of a flash control.
Definition SCOLFlashControl.cpp:534
int SO3FlashControlCreateOnMaterial(mmachine m)
SO3FlashControlCreateOnMaterial : Set a texture flash on a material.
Definition SCOLFlashControl.cpp:277
Generated by 1.9.8