USoundNode::GetDuration

Returns the maximum duration this sound node will play for.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

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

Include

#include "Sound/SoundNode.h"

Source

/Engine/Source/Runtime/Engine/Private/SoundNode.cpp

Syntax

virtual float GetDuration()

Remarks

Returns the maximum duration this sound node will play for.

Returns

float of number of seconds this sound will play for. INDEFINITELY_LOOPING_DURATION means its looping.