forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_streamplayer
reduz edited this page Feb 23, 2014
·
9 revisions
####Inherits: Node ####Category: Core
Base class for audio stream playback.
- 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
( real volume ) -
real
get_volume
( ) const - void
set_volume_db
( real db ) -
real
get_volume_db
( ) const -
String
get_stream_name
( ) const -
int
get_loop_count
( ) const -
real
get_pos
( ) const - void
seek_pos
( real time ) - void
set_autoplay
( bool enabled ) -
bool
has_autoplay
( ) const -
real
get_length
( ) const
Base class for audio stream playback. Audio stream players inherit from it.