MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setReverb

Method setReverb

Engine/source/sfx/sfxSystem.cpp:1049–1062  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047//-----------------------------------------------------------------------------
1048
1049void SFXSystem::setReverb( const SFXReverbProperties& reverb )
1050{
1051 mReverb = reverb;
1052
1053 // Allow the plugins to adjust the reverb.
1054
1055 for( U32 i = 0; i < mPlugins.size(); ++ i )
1056 mPlugins[ i ]->filterReverb( mReverb );
1057
1058 // Pass it on to the device.
1059
1060 if( mDevice )
1061 mDevice->setReverb( mReverb );
1062}
1063
1064//-----------------------------------------------------------------------------
1065

Callers 4

_allocVoiceMethod · 0.45
createDeviceMethod · 0.45
updateMethod · 0.45
removeSoundscapeMethod · 0.45

Calls 2

filterReverbMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected