API reference

ILipsyncAnimator Interface

Methods

OnVisemeFinished ( viseme )
Called when entering or passing a new sample with a different specified viseme.
Signature
void Meta.WitAi.TTS.LipSync.ILipsyncAnimator.OnVisemeFinished(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
OnVisemeStarted ( viseme )
Called when entering or passing a sample with this specified viseme.
Signature
void Meta.WitAi.TTS.LipSync.ILipsyncAnimator.OnVisemeStarted(Viseme viseme)
Parameters
viseme: Viseme
Returns
void