|
virtual void | Awake () |
|
virtual void | Start () |
|
virtual void | OnEnable () |
|
virtual void | OnDisable () |
|
void | OnConversationLine (Subtitle subtitle) |
| When a conversation line is spoken, speak it through RT-Voice.
|
|
void | OnBarkLine (Subtitle subtitle) |
| When a bark line is spoken, speak it through RT-Voice.
|
|
void | SpeakSubtitle (Subtitle subtitle, bool wait) |
|
virtual void | Speak (string text) |
| Speak the specified text using RT-Voice.
|
|
Voice | GetVoice () |
| Finds the system's closest match voice to the preferred voice for the current language, or for the system language if no current language is set.
|
|
◆ Gender
Enumerator |
---|
Female | |
Male | |
Any | |
◆ VoiceState
Enumerator |
---|
Silent | |
Starting | |
Speaking | |
◆ Awake()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.Awake |
( |
| ) |
|
|
inlinevirtual |
◆ GetVoice()
Voice PixelCrushers.DialogueSystem.RTVoiceActor.GetVoice |
( |
| ) |
|
|
inline |
Finds the system's closest match voice to the preferred voice for the current language, or for the system language if no current language is set.
- Returns
- The voice that best matches the actor's preferences.
◆ MatchesVoicePreference()
bool PixelCrushers.DialogueSystem.RTVoiceActor.MatchesVoicePreference |
( |
Voice |
voice, |
|
|
VoicePreference |
voicePreference |
|
) |
| |
|
inlineprotected |
◆ OnBarkLine()
void PixelCrushers.DialogueSystem.RTVoiceActor.OnBarkLine |
( |
Subtitle |
subtitle | ) |
|
|
inline |
When a bark line is spoken, speak it through RT-Voice.
- Parameters
-
◆ OnConversationLine()
void PixelCrushers.DialogueSystem.RTVoiceActor.OnConversationLine |
( |
Subtitle |
subtitle | ) |
|
|
inline |
When a conversation line is spoken, speak it through RT-Voice.
- Parameters
-
◆ OnDisable()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnDisable |
( |
| ) |
|
|
inlinevirtual |
◆ OnEnable()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnEnable |
( |
| ) |
|
|
inlinevirtual |
◆ OnSpeakComplete()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnSpeakComplete |
( |
Crosstales::RTVoice::Model::Wrapper |
wrapper | ) |
|
|
inlineprotectedvirtual |
◆ OnSpeakStart()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnSpeakStart |
( |
Crosstales::RTVoice::Model::Wrapper |
wrapper | ) |
|
|
inlineprotectedvirtual |
◆ RegisterRTVoiceCallbacks()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.RegisterRTVoiceCallbacks |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Speak()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.Speak |
( |
string |
text | ) |
|
|
inlinevirtual |
Speak the specified text using RT-Voice.
You can override this if you need to do anything extra.
- Parameters
-
◆ SpeakSubtitle()
void PixelCrushers.DialogueSystem.RTVoiceActor.SpeakSubtitle |
( |
Subtitle |
subtitle, |
|
|
bool |
wait |
|
) |
| |
|
inline |
◆ SpeakWhenVoicesAreReady()
virtual IEnumerator PixelCrushers.DialogueSystem.RTVoiceActor.SpeakWhenVoicesAreReady |
( |
string |
text | ) |
|
|
inlineprotectedvirtual |
◆ Start()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.Start |
( |
| ) |
|
|
inlinevirtual |
◆ UnregisterRTVoiceCallbacks()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.UnregisterRTVoiceCallbacks |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ m_audioSource
AudioSource PixelCrushers.DialogueSystem.RTVoiceActor.m_audioSource = null |
|
protected |
◆ m_started
bool PixelCrushers.DialogueSystem.RTVoiceActor.m_started = false |
|
protected |
◆ pitch
float PixelCrushers.DialogueSystem.RTVoiceActor.pitch = 1 |
◆ rate
float PixelCrushers.DialogueSystem.RTVoiceActor.rate = 1 |
◆ voicePreferences
The voice preferences to try to match.
◆ voiceState
◆ volume
float PixelCrushers.DialogueSystem.RTVoiceActor.volume = 1 |
◆ waitForVoiceInConversations
bool PixelCrushers.DialogueSystem.RTVoiceActor.waitForVoiceInConversations = true |
In conversations, make the dialogue entry wait until RT-Voice is done playing.
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Integration2/RT-Voice Integration/Assets/Pixel Crushers/Dialogue System/Third Party Support/RTVoice Support/Scripts/RTVoiceActor.cs