USoundSimple

Class which contains a simple list of sound wave variations.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

SoundUtilities

Header

/Engine/Plugins/Runtime/SoundUtilities/Source/SoundUtilities/Public/SoundSimple.h

Include

#include "SoundSimple.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=Sound, Meta=(BlueprintSpawnableComponent))
class USoundSimple : public USoundBase

Remarks

Class which contains a simple list of sound wave variations.

Variables

Name Description

Protected variable UProperty Transient

USoundWave *...

 

SoundWave

The current chosen sound wave.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

TArray< FSoundV...

 

Variations

List of variations for the simple sound.

Functions

Name Description

Protected function

void

 

CacheValues()

Protected function

void

 

ChooseSoundWave()

Overridden from USoundBase

Name Description

Public function Virtual

float

 

GetDuration()

Returns the length of the sound

Public function Virtual Const

float

 

GetMaxDistance()

Returns the farthest distance at which the sound could be heard

Public function Virtual Const

bool

 

IsPlayable()

Returns whether the sound base is set up in a playable manner

Public function Virtual

void

 

Parse

(
    FAudioDevice* AudioDevice,
    const UPTRINT NodeWaveInstanceHash,
    FActiveSound& ActiveSound,
    const FSoundParseParameters& Parse...,
    TArray< FWaveInstance* >& Wav...
)

Parses the Sound to generate the WaveInstances to play.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss