TextToSpeechSample Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sample script for text to speech
public ref class TextToSpeechSample : UnityEngine::MonoBehaviour
[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Audio.TextToSpeech))]
public class TextToSpeechSample : UnityEngine.MonoBehaviour
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Audio.TextToSpeech))>]
type TextToSpeechSample = class
inherit MonoBehaviour
Public Class TextToSpeechSample
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourTextToSpeechSample
- Attributes
-
UnityEngine.RequireComponentAttribute
Constructors
TextToSpeechSample() |
Methods
Speak() |
Start playing Text To Speech generated voice |