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

Method setModulativeVolume

Engine/source/sfx/sfxSource.cpp:1038–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036//-----------------------------------------------------------------------------
1037
1038void SFXSource::setModulativeVolume( F32 value )
1039{
1040 mModulativeVolume = mClampF( value, 0.f, 1.f );
1041 _updateVolume( SFX->getListener( 0 ).getTransform() );
1042}
1043
1044//-----------------------------------------------------------------------------
1045

Callers 2

_execInsnMethod · 0.80
_updateVolumeMethod · 0.80

Calls 3

mClampFFunction · 0.85
getListenerMethod · 0.80
getTransformMethod · 0.45

Tested by

no test coverage detected