struct
LipSyncComponent
Lip-sync over morph targets. Sits next to a Morph component and the entity's AudioSource: while the source plays, the jaw target follows the signal's envelope and, in Text mode, one of five viseme targets is held for each letter of the line, paced over the clip's length. Target names are looked up on the mesh's morph targets; a name the mesh does not carry is skipped, so a head with only a jaw still talks.
- Module
- Game
- Header
#include "Game/Components/LipSyncComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
ELipSyncMode | mode | Default ELipSyncMode::Both. |
std::string | jawTarget | Amplitude: envelope RMS × Gain, clamped, smoothed at Response per second. Default "jawOpen". |
float | gain | Default 6.0f. |
float | response | Default 14.0f. |
std::string | text | Text: the line spoken. Empty takes the caption of the playing cue. |
std::string | visemeAA | Default "viseme_aa". |
std::string | visemeEE | Default "viseme_E". |
std::string | visemeOH | Default "viseme_O". |
std::string | visemeMM | Default "viseme_PP". |
std::string | visemeFF | Default "viseme_FF". |
float | visemeStrength | Weight a held viseme reaches, and how fast visemes cross-fade. Default 0.8f. |
int32_t | jawIndex | Headless fallback: with no mesh to look names up on, these indices into the Morph weights are used directly (-1 = by name only). Default -1. |
int32_t | visemeIndexAA | Default -1. |
int32_t | visemeIndexEE | Default -1. |
int32_t | visemeIndexOH | Default -1. |
int32_t | visemeIndexMM | Default -1. |
int32_t | visemeIndexFF | Default -1. |
bool | speaking | Default false. |
float | jawWeight | Default 0.0f. |
std::string | activeViseme | |
std::vector<float> | visemeWeights | |
const void* | resolvedMesh | Default nullptr. |
std::vector<int32_t> | resolvedIndices |
Generated from Game/Components/LipSyncComponent.h via game.json · Nov 5, 2026Version 1.0.0