UInworldBlueprintFunctionLibrary | Inherits from: UBlueprintFunctionLibrary
Methods
- BreakAudio
- CreateBooleanJinjaArgument
- CreateFloatJinjaArgument
- CreateIntJinjaArgument
- CreateInworldDataError
- CreateInworldDataError
- CreateStringJinjaArgument
- CreateStructJinjaArgument
- CreateStructJinjaArgument
- GetNext
- HasNext
- ErrorOnDestroying
- GetRuntimeStruct
- GetVisemeBlends
- MakeAudio
- TrimLLMOutput
- UnwrapInworldDataHandle
- WrapInworldData
- WrapInworldData
Reference
BreakAudio

Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| Audio | const FInworldData_Audio& | |
| OutWaveform | TArray<uint8>& | |
| OutSampleRate | int32& | 
CreateBooleanJinjaArgument
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| Value | bool | 
Returns
Type:FJinjaArgument
CreateFloatJinjaArgument
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| Value | float | 
Returns
Type:FJinjaArgument
CreateIntJinjaArgument
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| Value | int32 | 
Returns
Type:FJinjaArgument
CreateInworldDataError
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| InworldDataStructType | UScriptStruct* | |
| Reason | const FString& | |
| Data | int32& | 
CreateInworldDataError
Examples
CreateStringJinjaArgument
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| Value | FString | 
Returns
Type:FJinjaArgument
CreateStructJinjaArgument
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| Data | const int32& | 
Returns
Type:FJinjaArgument
CreateStructJinjaArgument
Examples
Returns
Type:FJinjaArgument
GetNext

Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| TTSOutputStream | FInworldData_DataStream_TTSOutput | 
Returns
Type:FInworldDataHandle
HasNext

Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| TTSOutputStream | const FInworldData_DataStream_TTSOutput& | 
Returns
Type:bool
ErrorOnDestroying
Examples
Returns
Type:FInworldDataHandle
GetRuntimeStruct
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| ProcessContext | UInworldProcessContext* | |
| Key | const FName& | |
| ScriptStruct | UScriptStruct* | |
| Struct | int32& | |
| Successful | bool& | 
GetVisemeBlends
Calculates viseme blend weights for a given playback time based on VisemeInfos. Smoothly interpolates between visemes.
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| PlaybackTimeSeconds | const float | The current playback in seconds. | 
| VisemeInfos | const TArray<FInworldVisemeInfo>& | Array of visem infos sorted by timestamps. | 
Returns
Type:FInworldVisemeBlends
MakeAudio

Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| Waveform | const TArray<uint8>& | |
| SampleRate | int32 | 
Returns
Type:FInworldData_Audio
TrimLLMOutput
Removes leading and trailing quotes as well as getting rid of double spaces and other artifacts of LLM text generation.
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| LLMOutputString | const FString& | The LLM output string to edit | 
| OutTrimmedLLMOutputString | FString& | The result string with spaces and quotes removed | 
UnwrapInworldDataHandle
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| DataHandle | const FInworldDataHandle& | |
| ScriptStruct | UScriptStruct* | |
| Data | int32& | |
| UnwrapSuccessful | bool& | 
WrapInworldData
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| ScriptStruct | UScriptStruct* | |
| Data | const int32& | 
Returns
Type:FInworldDataHandle
WrapInworldData
Examples
Returns
Type:FInworldDataHandle