AudioStreamPlayer2D

Inherits: Node2D < CanvasItem < Node < Object

Category: Core

Brief Description

Member Functions

int get_area_mask ( ) const
float get_attenuation ( ) const
String get_bus ( ) const
float get_max_distance ( ) const
float get_pos ( )
AudioStream get_stream ( ) const
float get_volume_db ( ) const
bool is_autoplay_enabled ( )
bool is_playing ( ) const
void play ( float from_pos=0.0 )
void seek ( float to_pos )
void set_area_mask ( int mask )
void set_attenuation ( float curve )
void set_autoplay ( bool enable )
void set_bus ( String bus )
void set_max_distance ( float pixels )
void set_stream ( AudioStream stream )
void set_volume_db ( float volume_db )
void stop ( )

Signals

  • finished ( )

Member Variables

Member Function Description

  • int get_area_mask ( ) const
  • float get_attenuation ( ) const
  • float get_max_distance ( ) const
  • float get_volume_db ( ) const
  • bool is_autoplay_enabled ( )
  • bool is_playing ( ) const
  • void play ( float from_pos=0.0 )
  • void seek ( float to_pos )
  • void set_area_mask ( int mask )
  • void set_attenuation ( float curve )
  • void set_autoplay ( bool enable )
  • void set_max_distance ( float pixels )
  • void set_volume_db ( float volume_db )
  • void stop ( )