TextToSpeech

Description

Supported Script Types:

  • Interface Scripts
  • Client Entity Scripts
  • Avatar Scripts
The TextToSpeech API lets you use text to speech for your avatar in interface.

Methods

Name Return Value Summary
speakText None

Speaks the given input text.

stopLastSpeech None

Stops the last speech.

Method Details

(static) speakText( textToSpeak )

Speaks the given input text.

Parameters

Name Type Description
textToSpeak string

The text to speak.

(static) stopLastSpeech( )

Stops the last speech.