Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UGameplayStatics
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
Include | #include "Kismet/GameplayStatics.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
static UAudioComponent &42; SpawnDialogue2D
&40;
const UObject &42; WorldContextObject,
UDialogueWave &42; Dialogue,
const struct FDialogueContext & Context,
float VolumeMultiplier,
float PitchMultiplier,
float StartTime,
bool bAutoDestroy
&41;
Remarks
Spawns a DialogueWave, a special type of Asset that requires Context data in order to resolve a specific SoundBase, which is then passed on to the new Audio Component. Audio Components created using this function by default will not have Spatialization applied. Sound instances will begin playing upon spawning this Audio Component.
- Not Replicated.