Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAudioComponent
Description
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).
| Name | SetWaveParameter |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h |
| Include Path | #include "Components/AudioComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Audio|Parameter")
void SetWaveParameter
(
FName InName,
USoundWave * InWave
)
Parameters
| Name | Remarks |
|---|---|
| InName | The name of the parameter to assign the wave to. |
| InWave | The wave value to set. |