UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDialogueContextMapping Struct Reference

#include <DialogueWave.h>

Public Member Functions

ENGINE_API FDialogueContextMapping ()
 
ENGINE_API FString GetLocalizationKey () const
 
ENGINE_API FString GetLocalizationKey (const FString &InOwnerDialogueWaveKey) const
 

Public Attributes

FDialogueContext Context
 
TObjectPtr< USoundWaveSoundWave
 
FString LocalizationKeyFormat
 
TObjectPtr< UDialogueSoundWaveProxyProxy
 

Constructor & Destructor Documentation

◆ FDialogueContextMapping()

FDialogueContextMapping::FDialogueContextMapping ( )

Member Function Documentation

◆ GetLocalizationKey() [1/2]

FString FDialogueContextMapping::GetLocalizationKey ( ) const

Gets the localization key to use for this context mapping

◆ GetLocalizationKey() [2/2]

FString FDialogueContextMapping::GetLocalizationKey ( const FString &  InOwnerDialogueWaveKey) const

Member Data Documentation

◆ Context

FDialogueContext FDialogueContextMapping::Context

The context of the dialogue.

◆ LocalizationKeyFormat

FString FDialogueContextMapping::LocalizationKeyFormat

The format string to use when generating the localization key for this context. This must be unique within the owner dialogue wave. Available format markers:

  • {ContextHash} - A hash generated from the speaker and target voices.

◆ Proxy

TObjectPtr<UDialogueSoundWaveProxy> FDialogueContextMapping::Proxy

Cached object for playing the soundwave with subtitle information included.

◆ SoundWave

TObjectPtr<USoundWave> FDialogueContextMapping::SoundWave

The soundwave to play for this dialogue.


The documentation for this struct was generated from the following files: