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

Method setDistanceModel

Engine/source/sfx/sfxSystem.cpp:1016–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1014//-----------------------------------------------------------------------------
1015
1016void SFXSystem::setDistanceModel( SFXDistanceModel model )
1017{
1018 const bool changed = ( model != mDistanceModel );
1019
1020 mDistanceModel = model;
1021 if( mDevice && changed )
1022 mDevice->setDistanceModel( model );
1023}
1024
1025//-----------------------------------------------------------------------------
1026

Callers 4

createDeviceMethod · 0.45
sfxSystem.cppFile · 0.45
unpackUpdateMethod · 0.45
onAddMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected