SpatialStreamPlayer

Inherits: SpatialPlayer < Spatial < Node < Object

Category: Core

Brief Description

Member Functions

int get_buffering_msec ( ) const
float get_length ( ) const
int get_loop_count ( ) const
float get_loop_restart_time ( ) const
float get_pos ( ) const
AudioStream get_stream ( ) const
String get_stream_name ( ) const
float get_volume ( ) const
float get_volume_db ( ) const
bool has_autoplay ( ) const
bool has_loop ( ) const
bool is_paused ( ) const
bool is_playing ( ) const
void play ( float offset=0 )
void seek_pos ( float time )
void set_autoplay ( bool enabled )
void set_buffering_msec ( int msec )
void set_loop ( bool enabled )
void set_loop_restart_time ( float secs )
void set_paused ( bool paused )
void set_stream ( AudioStream stream )
void set_volume ( float volume )
void set_volume_db ( float db )
void stop ( )

Member Function Description

int get_buffering_msec ( ) const

float get_length ( ) const

int get_loop_count ( ) const

float get_loop_restart_time ( ) const

float get_pos ( ) const

AudioStream get_stream ( ) const

String get_stream_name ( ) const

float get_volume ( ) const

float get_volume_db ( ) const

bool has_autoplay ( ) const

bool has_loop ( ) const

bool is_paused ( ) const

bool is_playing ( ) const

void play ( float offset=0 )

void seek_pos ( float time )

void set_autoplay ( bool enabled )

void set_buffering_msec ( int msec )

void set_loop ( bool enabled )

void set_loop_restart_time ( float secs )

void set_paused ( bool paused )

void set_stream ( AudioStream stream )

void set_volume ( float volume )

void set_volume_db ( float db )

void stop ( )

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_spatialstreamplayer.html