BaseTextureFlipLipSync Class
A base class for swapping out mouth textures during an audio animation based on the current viseme
abstract Renderer Renderer[Get]
The material to be used for the texture flip
The textures to be used for viseme swapping
virtual void SetTexture ( Texture2D texture )
Apply texture to material
void RefreshTextureLookup ( )
Called when entering or passing a sample with this specified viseme.
Called when entering or passing a new sample with a different specified viseme.
void OnVisemeLerpfloat percentage )
Called when a viseme is in the process of lerping from one value to another
ParametersoldViesemeThe last viseme shown
newVisemeThe viseme that is being transitioned to
percentageThe percentage of the progress of transitioning