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

Method notifyTrackChanged

Engine/source/sfx/sfxSystem.cpp:1127–1136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125//-----------------------------------------------------------------------------
1126
1127void SFXSystem::notifyTrackChanged( SFXTrack* track )
1128{
1129 SimSet* set = Sim::getSFXSourceSet();
1130 for( SimSet::iterator iter = set->begin(); iter != set->end(); ++ iter )
1131 {
1132 SFXSource* source = dynamic_cast< SFXSource* >( *iter );
1133 if( source && source->getTrack() == track )
1134 source->notifyTrackChanged();
1135 }
1136}
1137
1138//-----------------------------------------------------------------------------
1139

Callers 1

inspectPostApplyMethod · 0.45

Calls 3

getTrackMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected