class_streamplayer - dragonsoulz/godot GitHub Wiki
StreamPlayer
####Inherits: Node ####Category: Core
Brief Description
Base class for audio stream playback.
Member Functions
- void set_stream ( Stream stream )
- Stream get_stream ( ) const
- void play ( )
- void stop ( )
- bool is_playing ( ) const
- void set_paused ( bool paused )
- bool is_paused ( ) const
- void set_loop ( bool enabled )
- bool has_loop ( ) const
- void set_volume ( float volume )
- float get_volume ( ) const
- void set_volume_db ( float db )
- float get_volume_db ( ) const
- String get_stream_name ( ) const
- int get_loop_count ( ) const
- float get_pos ( ) const
- void seek_pos ( float time )
- void set_autoplay ( bool enabled )
- bool has_autoplay ( ) const
- float get_length ( ) const
Description
Base class for audio stream playback. Audio stream players inherit from it.