Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USoundNode
- USoundNodeLooping
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SoundNodeLooping.h |
| Include | #include "Sound/SoundNodeLooping.h" |
Syntax
class USoundNodeLooping : public USoundNode
Remarks
Defines how a sound loops; either indefinitely, or for a set number of times. Note: The Looping node should only be used for logical or procedural looping such as introducing a delay. These sounds will not be played seamlessly. If you want a sound to loop seamlessly and indefinitely, use the Looping flag on the Wave Player node for that sound.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bLoopIndefinitely | If enabled, the node will continue to loop indefinitely regardless of the Loop Count value. | |
| int32 | LoopCount | The amount of times to loop |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USoundNodeLooping
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ParseNodes
(
FAudioDevice* AudioDevice, |
Overridden from USoundNode
| Type | Name | Description | |
|---|---|---|---|
| float | GetDuration () |
Returns the maximum duration this sound node will play for. | |
| int32 | GetNumSounds
(
const UPTRINT NodeWaveInstanceHash, |
Returns the number of simultaneous sounds this node instance plays back. | |
| bool | NotifyWaveInstanceFinished
(
FWaveInstance* WaveInstance |
Notifies the sound node that a wave instance in its subtree has finished. |