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

Method getSoundDuration

Engine/source/sfx/sfxProfile.cpp:368–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366//-----------------------------------------------------------------------------
367
368U32 SFXProfile::getSoundDuration()
369{
370 Resource< SFXResource >& resource = getResource();
371 if( resource != NULL )
372 return mResource->getDuration();
373 else
374 return 0;
375}
376
377//-----------------------------------------------------------------------------
378

Callers 1

sfxProfile.cppFile · 0.45

Calls 1

getDurationMethod · 0.45

Tested by

no test coverage detected