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

Method _addParameter

Engine/source/sfx/sfxSource.cpp:1177–1190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1175//-----------------------------------------------------------------------------
1176
1177void SFXSource::_addParameter( StringTableEntry name )
1178{
1179 SFXParameter* parameter = dynamic_cast< SFXParameter* >(
1180 Sim::getSFXParameterGroup()->findObjectByInternalName( name )
1181 );
1182
1183 if( !parameter )
1184 {
1185 Con::errorf( "SFXSource::_addParameter - no parameter called '%s'", name );
1186 return;
1187 }
1188
1189 addParameter( parameter );
1190}
1191
1192//-----------------------------------------------------------------------------
1193

Callers

nothing calls this directly

Calls 2

errorfFunction · 0.50

Tested by

no test coverage detected