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

Method setVelocity

Engine/source/sfx/sfxSound.cpp:543–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541//-----------------------------------------------------------------------------
542
543void SFXSound::setVelocity( const VectorF& velocity )
544{
545 Parent::setVelocity( velocity );
546
547 if( mVoice && is3d() )
548 mVoice->setVelocity( velocity );
549}
550
551//-----------------------------------------------------------------------------
552

Callers 1

createSourceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected