MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setTimeScale

Method setTimeScale

Engine/source/gui/editor/guiShapeEdPreview.cpp:412–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void GuiShapeEdPreview::setTimeScale( F32 scale )
413{
414 // Update time scale for all threads
415 mTimeScale = scale;
416 for ( S32 i = 0; i < mThreads.size(); i++ )
417 {
418 if ( mThreads[i].key )
419 mModel->setTimeScale( mThreads[i].key, mTimeScale * mThreads[i].direction );
420 }
421}
422
423void GuiShapeEdPreview::setActiveThreadSequence(const char* seqName, F32 duration, F32 pos, bool play)
424{

Callers 5

setFieldThreadDirMethod · 0.45
setThreadSequenceMethod · 0.45
setMountThreadDirMethod · 0.45
updateThreadsMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected