Language
Edit

TextToSpeechSubsystem Class

Definition

A subsystem to enable text-to-speech.

[UnityEngine.Scripting.Preserve]
public class TextToSpeechSubsystem : MixedReality.Toolkit.Subsystems.MRTKSubsystem<MixedReality.Toolkit.Subsystems.TextToSpeechSubsystem,MixedReality.Toolkit.Subsystems.TextToSpeechSubsystemDescriptor,MixedReality.Toolkit.Subsystems.TextToSpeechSubsystem.Provider>
[<UnityEngine.Scripting.Preserve>]
type TextToSpeechSubsystem = class
    inherit MRTKSubsystem<TextToSpeechSubsystem, TextToSpeechSubsystemDescriptor, TextToSpeechSubsystem.Provider>
Public Class TextToSpeechSubsystem
Inherits MRTKSubsystem(Of TextToSpeechSubsystem, TextToSpeechSubsystemDescriptor, TextToSpeechSubsystem.Provider)
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<TSubsystem,TSubsystemDescriptor,TProvider>
TextToSpeechSubsystem
Derived
Attributes
UnityEngine.Scripting.PreserveAttribute

Constructors

Name Description
TextToSpeechSubsystem()

Initializes a new instance of the TextToSpeechSubsystem class.

Methods

Name Description
OnFixedUpdate()

Called in response to the lifecycle manager fix update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
OnLateUpdate()

Called in response to the lifecycle manager late update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
OnUpdate()

Called in response to the lifecycle manager update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
Register(TextToSpeechSubsystemCinfo)

Registers a TextToSpeechSubsystem implementation based on the given subsystem parameters.

TrySpeak(String, AudioSource) UnityEngine.SubsystemsImplementation.SubsystemWithProvider`3.TrySpeak(System.String,UnityEngine.AudioSource)

Explicit Interface Implementations

Name Description
IMRTKManagedSubsystem.FixedUpdate() (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
IMRTKManagedSubsystem.LateUpdate() (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
IMRTKManagedSubsystem.Update() (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)

Applies to