Navigation
API > API/Plugins > API/Plugins/MetaHumanSpeech2Face
Class for generating face animation for animating RigLogic rigs using the provided speech recording.
| Name | FSpeech2Face |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanSpeech2Face/Public/Speech2Face.h |
| Include Path | #include "Speech2Face.h" |
Syntax
class FSpeech2Face
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
METAHUMANSPEECH2 ~FSpeech2Face() |
Speech2Face.h |
Structs
| Name | Remarks |
|---|---|
| FAudioParams |
Typedefs
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 |
|---|---|---|---|
METAHUMANSPEECH2bool GenerateFaceAnimation
(
const FAudioParams& InAudioParams, |
Generates RigLogic face animation based on the input audio. | Speech2Face.h | |
METAHUMANSPEECH2void SetMood
(
const EAudioDrivenAnimationMood& InMood |
Sets the desired mood for the resulting animation. | Speech2Face.h | |
METAHUMANSPEECH2void SetMoodIntensity
(
float InMoodIntensity |
Sets the desired mood intensity for the resulting animation. | Speech2Face.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static METAHUMANSPEECH2TUniquePtr< FSpeech2Face > Create () |
Creates a FSpeech2Face instance. | Speech2Face.h | |
static METAHUMANSPEECH2TUniquePtr< FSpeech2Face > Create
(
const FAudioDrivenAnimationModels& InModels |
Creates a FSpeech2Face instance, using the specified models. | Speech2Face.h |