Edit

Share via


TextToSpeechSample Class

Definition

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.MonoBehaviour
TextToSpeechSample
Attributes
UnityEngine.RequireComponentAttribute

Constructors

TextToSpeechSample()

Methods

Speak()

Start playing Text To Speech generated voice

Applies to