public void AddFace(string name, float duration = 0.0f, bool asNewFrame = false) { if (asNewFrame || AnimatedVoices.Count == 0) { CreateNewFrame(); } AnimatedVoices.Last().AddFace(name, duration); }
public void AddAnimation(string name, string layerName, float duration = 0.0f, float fadeLength = -1.0f, float weight = 1.0f, float preGap = 0.0f, bool asNewFrame = false) { if (asNewFrame || AnimatedVoices.Count == 0) { CreateNewFrame(); } AnimatedVoices.Last().AddAnimation(name, layerName, duration, fadeLength, weight, preGap); }
public void AddVoiceTTS(string text, float preGap = 0.0f, float postGap = 0.0f, string name = null, Dictionary <string, string> ttsOptions = null, bool asNewFrame = false) { if (asNewFrame || AnimatedVoices.Count == 0) { CreateNewFrame(); } AnimatedVoices.Last().AddVoiceTTS(text, preGap, postGap, name, ttsOptions); }
public void AddVoiceWeb(string url, float preGap = 0.0f, float postGap = 0.0f, string name = null, string text = null, bool asNewFrame = false) { if (asNewFrame || AnimatedVoices.Count == 0) { CreateNewFrame(); } AnimatedVoices.Last().AddVoiceWeb(url, preGap, postGap, name, text); }
public void AddVoice(string name, float preGap = 0.0f, float postGap = 0.0f, bool asNewFrame = false) { if (asNewFrame || AnimatedVoices.Count == 0) { CreateNewFrame(); } AnimatedVoices.Last().AddVoice(name, preGap, postGap); }
public void AddVoiceTTS(string text, float preGap = 0.0f, float postGap = 0.0f, string name = null, TTSConfiguration ttsConfig = null, string description = null, bool asNewFrame = false) { if (asNewFrame || AnimatedVoices.Count == 0) { CreateNewFrame(); } AnimatedVoices.Last().AddVoiceTTS(text, preGap, postGap, name, ttsConfig, description: description); }