USoundNodeEnveloper::GetDuration

Returns the maximum duration this sound node will play for.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USoundNode::GetDuration()

USoundNodeEnveloper::GetDuration()

References

Module

Engine

Header

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

Include

#include "Sound/SoundNodeEnveloper.h"

Source

/Engine/Source/Runtime/Engine/Private/SoundNodeEnveloper.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.