Navigation
API > API/Plugins > API/Plugins/MetaHumanSpeech2Face
Class for generating face animation for animating RigLogic rigs using the provided speech recording.
| Name | METAHUMANSPEECH2FSpeech2Face |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanSpeech2Face/Public/Speech2Face.h |
| Include Path | #include "Speech2Face.h" |
Syntax
class METAHUMANSPEECH2FSpeech2Face
Structs
| Name | Remarks |
|---|---|
| FAudioParams |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAnimationFrame | TMap< FString, float > | Speech2Face.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AudioEncoderOutputFps | float | Speech2Face.h | |
| AudioEncoderWarmUpSec | float | Speech2Face.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Pimpl | TUniquePtr< FSpeech2FaceInternal > | Speech2Face.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSpeech2Face() |
Speech2Face.h | ||
bool GenerateFaceAnimation
(
const FAudioParams& InAudioParams, |
Generates RigLogic face animation based on the input audio. | Speech2Face.h | |
void SetMood
(
const EAudioDrivenAnimationMood& InMood |
Sets the desired mood for the resulting animation. | Speech2Face.h | |
void SetMoodIntensity
(
float InMoodIntensity |
Sets the desired mood intensity for the resulting animation. | Speech2Face.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TUniquePtr< FSpeech2Face > Create () |
Creates a FSpeech2Face instance. | Speech2Face.h | |
static TUniquePtr< FSpeech2Face > Create
(
const FAudioDrivenAnimationModels& InModels |
Creates a FSpeech2Face instance, using the specified models. | Speech2Face.h |