ApiApp().LoadVisemes*
Deprecated in 3.0) Loads visemes for lip-synced animation from the given folder.
Description
If a “LoadVisemes” function has been registered with the core via the application, this method allows for scripted changes of the character images used for visual display of lip- synced animation. Like the “setVoiceFont” function, this is very useful for switching AI characters on the fly. Note that the application, not the core, is responsible for registering its own LoadVisemes function via a delegate. While support for animation is embedded in the SILVIA Studio for windows, this feature is not native to the platform-independent core.
Example Usage (C#)
bool success = _core.ApiApp().LoadVisemes(“robotGuy/images”, true);
Parameters
string | folderPath | The string to specify the relative or absolute folder where the new viseme images reside. |
bool | useVideo | The boolean flag for enabling streaming character animation video. |
Returns
The boolean success or failure of the operation.
See Also
- ApiApp().LoadVisemesCrop
- ApiApp().SetVoiceFont
- ApiApp().GetVisemesFolder