USoundSourceBus::GetDuration

Returns the length of the sound

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USoundBase::GetDuration()

USoundWave::GetDuration()

USoundSourceBus::GetDuration()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundSourceBus.h

Include

#include "Sound/SoundSourceBus.h"

Source

/Engine/Source/Runtime/Engine/Private/SoundSourceBus.cpp

Syntax

virtual float GetDuration()

Remarks

Returns the length of the sound