API reference

ILipsyncAnimator Interface

Methods

OnVisemeChanged ( viseme )
Called when a viseme has fully changed to a new viseme
Signature
void Meta.WitAi.TTS.LipSync.ILipsyncAnimator.OnVisemeChanged(Viseme viseme)
Parameters
viseme: Viseme
Returns
void
OnVisemeLerp ( oldVieseme , newViseme , percentage )
Called when a viseme is in the process of lerping from one value to another
Signature
void Meta.WitAi.TTS.LipSync.ILipsyncAnimator.OnVisemeLerp(Viseme oldVieseme, Viseme newViseme, float percentage)
Parameters
oldVieseme: Viseme  The last viseme shown
newViseme: Viseme  The viseme that is being transitioned to
percentage: float  The percentage of the progress of transitioning
Returns
void