AudioStreamPlayer3D

Inherits: Spatial < Node < Object

Category: Core

Brief Description

Member Functions

int get_area_mask ( ) const
float get_attenuation_filter_cutoff_hz ( ) const
float get_attenuation_filter_db ( ) const
int get_attenuation_model ( ) const
String get_bus ( ) const
int get_doppler_tracking ( ) const
float get_emission_angle ( ) const
float get_emission_angle_filter_attenuation_db ( ) const
float get_max_db ( ) const
float get_max_distance ( ) const
int get_out_of_range_mode ( ) const
float get_pos ( )
AudioStream get_stream ( ) const
float get_unit_db ( ) const
float get_unit_size ( ) const
bool is_autoplay_enabled ( )
bool is_emission_angle_enabled ( ) const
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_filter_cutoff_hz ( float degrees )
void set_attenuation_filter_db ( float db )
void set_attenuation_model ( int model )
void set_autoplay ( bool enable )
void set_bus ( String bus )
void set_doppler_tracking ( int mode )
void set_emission_angle ( float degrees )
void set_emission_angle_enabled ( bool enabled )
void set_emission_angle_filter_attenuation_db ( float db )
void set_max_db ( float max_db )
void set_max_distance ( float metres )
void set_out_of_range_mode ( int mode )
void set_stream ( AudioStream stream )
void set_unit_db ( float unit_db )
void set_unit_size ( float unit_size )
void stop ( )

Signals

  • finished ( )

Member Variables

Numeric Constants

  • ATTENUATION_INVERSE_DISTANCE = 0
  • ATTENUATION_INVERSE_SQUARE_DISTANCE = 1
  • ATTENUATION_LOGARITHMIC = 2
  • OUT_OF_RANGE_MIX = 0
  • OUT_OF_RANGE_PAUSE = 1
  • DOPPLER_TRACKING_DISABLED = 0
  • DOPPLER_TRACKING_IDLE_STEP = 1
  • DOPPLER_TRACKING_FIXED_STEP = 2

Member Function Description

  • int get_area_mask ( ) const
  • float get_attenuation_filter_cutoff_hz ( ) const
  • float get_attenuation_filter_db ( ) const
  • int get_attenuation_model ( ) const
  • int get_doppler_tracking ( ) const
  • float get_emission_angle ( ) const
  • float get_emission_angle_filter_attenuation_db ( ) const
  • float get_max_db ( ) const
  • float get_max_distance ( ) const
  • int get_out_of_range_mode ( ) const
  • float get_unit_db ( ) const
  • float get_unit_size ( ) const
  • bool is_autoplay_enabled ( )
  • bool is_emission_angle_enabled ( ) const
  • 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_filter_cutoff_hz ( float degrees )
  • void set_attenuation_filter_db ( float db )
  • void set_attenuation_model ( int model )
  • void set_autoplay ( bool enable )
  • void set_doppler_tracking ( int mode )
  • void set_emission_angle ( float degrees )
  • void set_emission_angle_enabled ( bool enabled )
  • void set_emission_angle_filter_attenuation_db ( float db )
  • void set_max_db ( float max_db )
  • void set_max_distance ( float metres )
  • void set_out_of_range_mode ( int mode )
  • void set_unit_db ( float unit_db )
  • void set_unit_size ( float unit_size )
  • void stop ( )