AudioStreamPlayer2D

Inherits: Node2D < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

int

area_mask

1

float

attenuation

1.0

bool

autoplay

false

StringName

bus

&"Master"

float

max_distance

2000.0

int

max_polyphony

1

float

panning_strength

1.0

float

pitch_scale

1.0

PlaybackType

playback_type

0

bool

playing

false

AudioStream

stream

bool

stream_paused

false

float

volume_db

0.0

Methods

float

get_playback_position ( )

AudioStreamPlayback

get_stream_playback ( )

bool

has_stream_playback ( )

void

play ( float from_position=0.0 )

void

seek ( float to_position )

void

stop ( )


Signals

finished ( )

There is currently no description for this signal. Please help us by contributing one!


Property Descriptions

int area_mask = 1

  • void set_area_mask ( int value )

  • int get_area_mask ( )

There is currently no description for this property. Please help us by contributing one!


float attenuation = 1.0

  • void set_attenuation ( float value )

  • float get_attenuation ( )

There is currently no description for this property. Please help us by contributing one!


bool autoplay = false

  • void set_autoplay ( bool value )

  • bool is_autoplay_enabled ( )

There is currently no description for this property. Please help us by contributing one!


StringName bus = &"Master"

There is currently no description for this property. Please help us by contributing one!


float max_distance = 2000.0

  • void set_max_distance ( float value )

  • float get_max_distance ( )

There is currently no description for this property. Please help us by contributing one!


int max_polyphony = 1

  • void set_max_polyphony ( int value )

  • int get_max_polyphony ( )

There is currently no description for this property. Please help us by contributing one!


float panning_strength = 1.0

  • void set_panning_strength ( float value )

  • float get_panning_strength ( )

There is currently no description for this property. Please help us by contributing one!


float pitch_scale = 1.0

  • void set_pitch_scale ( float value )

  • float get_pitch_scale ( )

There is currently no description for this property. Please help us by contributing one!


PlaybackType playback_type = 0

There is currently no description for this property. Please help us by contributing one!


bool playing = false

  • bool is_playing ( )

There is currently no description for this property. Please help us by contributing one!


AudioStream stream

There is currently no description for this property. Please help us by contributing one!


bool stream_paused = false

  • void set_stream_paused ( bool value )

  • bool get_stream_paused ( )

There is currently no description for this property. Please help us by contributing one!


float volume_db = 0.0

  • void set_volume_db ( float value )

  • float get_volume_db ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

float get_playback_position ( )

There is currently no description for this method. Please help us by contributing one!


AudioStreamPlayback get_stream_playback ( )

There is currently no description for this method. Please help us by contributing one!


bool has_stream_playback ( )

There is currently no description for this method. Please help us by contributing one!


void play ( float from_position=0.0 )

There is currently no description for this method. Please help us by contributing one!


void seek ( float to_position )

There is currently no description for this method. Please help us by contributing one!


void stop ( )

There is currently no description for this method. Please help us by contributing one!