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

Method setRolloffFactor

Engine/source/sfx/sfxSystem.cpp:1038–1045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036//-----------------------------------------------------------------------------
1037
1038void SFXSystem::setRolloffFactor( F32 factor )
1039{
1040 const bool changed = ( factor != mRolloffFactor );
1041
1042 mRolloffFactor = factor;
1043 if( mDevice && changed )
1044 mDevice->setRolloffFactor( factor );
1045}
1046
1047//-----------------------------------------------------------------------------
1048

Callers 4

_allocVoiceMethod · 0.45
createDeviceMethod · 0.45
sfxSystem.cppFile · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected