API reference
API reference
Select your platform
No SDKs available
No versions available

BaseTextureFlipLipSync Class

Extends MonoBehaviour, ILipsyncAnimator
A base class for swapping out mouth textures during an audio animation based on the current viseme

Properties

The material to be used for the texture flip

Fields

The textures to be used for viseme swapping

Protected Functions

virtual void Reset ( )
virtual void Awake ( )
Apply texture to material

Member Functions

Refreshes texture lookup
Called when entering or passing a sample with this specified viseme.
Called when entering or passing a new sample with a different specified viseme.
Called when a viseme is in the process of lerping from one value to another
Parameters
oldVieseme
The last viseme shown
newViseme
The viseme that is being transitioned to
percentage
The percentage of the progress of transitioning
Did you find this page helpful?
Thumbs up icon
Thumbs down icon