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

Method updateAudioPos

Engine/source/T3D/shapeBase.cpp:2294–2302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2292}
2293
2294void ShapeBase::updateAudioPos()
2295{
2296 for (S32 i = 0; i < MaxSoundThreads; i++)
2297 {
2298 SFXSource* source = mSoundThread[i].sound;
2299 if ( source )
2300 source->setTransform( getTransform() );
2301 }
2302}
2303
2304//----------------------------------------------------------------------------
2305

Callers

nothing calls this directly

Calls 1

setTransformMethod · 0.45

Tested by

no test coverage detected