UAudioComponent::SetWaveParameter

Sets the parameter matching the name indicated to the provided Wave.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h

Include

#include "Components/AudioComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp

Syntax

void SetWaveParameter
(
    FName InName,
    USoundWave * InWave
)

Remarks

Sets the parameter matching the name indicated to the provided Wave. Provided for convenience/backward compatibility with SoundCues (The parameter interface supports any object and is up to the system querying it to determine whether it is a valid type).

Parameters

Parameter

Description

InName

The name of the parameter to assign the wave to.

InWave

The wave value to set.