Issue 377 (#383)
* feat: Implements speech fixes #377 * docs: Automatic update of API docs * chore: Updated speech translation. Co-authored-by: Dennis Ploeger <develop@dieploegers.de> Co-authored-by: dploeger <dploeger@users.noreply.github.com>
This commit is contained in:
51
docs/api/ESCMusicPlayer.md
Normal file
51
docs/api/ESCMusicPlayer.md
Normal file
@@ -0,0 +1,51 @@
|
||||
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
|
||||
|
||||
# ESCMusicPlayer
|
||||
|
||||
**Extends:** [Control](../Control)
|
||||
|
||||
## Description
|
||||
|
||||
Background music player
|
||||
|
||||
## Property Descriptions
|
||||
|
||||
### global\_id
|
||||
|
||||
```gdscript
|
||||
export var global_id: String = "_music"
|
||||
```
|
||||
|
||||
Global id of the background music player
|
||||
|
||||
### state
|
||||
|
||||
```gdscript
|
||||
var state: String = "default"
|
||||
```
|
||||
|
||||
The state of the music player. "default" or "off" disable music
|
||||
Any other state refers to a music stream that should be played
|
||||
|
||||
### stream
|
||||
|
||||
```gdscript
|
||||
var stream: AudioStreamPlayer
|
||||
```
|
||||
|
||||
Reference to the audio player
|
||||
|
||||
## Method Descriptions
|
||||
|
||||
### set\_state
|
||||
|
||||
```gdscript
|
||||
func set_state(p_state: String, p_force: bool = false) -> void
|
||||
```
|
||||
|
||||
Set the state of this player
|
||||
|
||||
#### Parameters
|
||||
|
||||
- p_state: New state to use
|
||||
- p_force: Override the existing state even if the stream is still playing
|
||||
Reference in New Issue
Block a user