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

TypeNameDescription
boolenabledDefault true.
ELipSyncModemodeDefault ELipSyncMode::Both.
std::stringjawTargetAmplitude: envelope RMS × Gain, clamped, smoothed at Response per second. Default "jawOpen".
floatgainDefault 6.0f.
floatresponseDefault 14.0f.
std::stringtextText: the line spoken. Empty takes the caption of the playing cue.
std::stringvisemeAADefault "viseme_aa".
std::stringvisemeEEDefault "viseme_E".
std::stringvisemeOHDefault "viseme_O".
std::stringvisemeMMDefault "viseme_PP".
std::stringvisemeFFDefault "viseme_FF".
floatvisemeStrengthWeight a held viseme reaches, and how fast visemes cross-fade. Default 0.8f.
int32_tjawIndexHeadless 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_tvisemeIndexAADefault -1.
int32_tvisemeIndexEEDefault -1.
int32_tvisemeIndexOHDefault -1.
int32_tvisemeIndexMMDefault -1.
int32_tvisemeIndexFFDefault -1.
boolspeakingDefault false.
floatjawWeightDefault 0.0f.
std::stringactiveViseme
std::vector<float>visemeWeights
const void*resolvedMeshDefault nullptr.
std::vector<int32_t>resolvedIndices
Generated from Game/Components/LipSyncComponent.h via game.json · Nov 5, 2026Version 1.0.0