AudioStreamPolyphonic
AudioStream that lets the user play custom streams at any time from code, simultaneously using a single player.
AudioStream that lets the user play custom streams at any time from code, simultaneously using a single player.
AudioStream that lets the user play custom streams at any time from code, simultaneously using a single player.
Playback control is done via the AudioStreamPlaybackPolyphonic instance set inside the player, which can be obtained via AudioStreamPlayer.GetStreamPlayback, AudioStreamPlayer2D.GetStreamPlayback or AudioStreamPlayer3D.GetStreamPlayback methods. Obtaining the playback instance is only valid after the stream property is set as an AudioStreamPolyphonic in those players.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
AudioStreamPolyphonicConstructor
public AudioStreamPolyphonic();Properties1
PolyphonyProperty
public int Polyphony { get; set; }Maximum amount of simultaneous streams that can be played.
Methods2
GetPolyphonyint
public int GetPolyphony();intSetPolyphonyvoid
public void SetPolyphony(int voices);| Name | Type | Default |
|---|---|---|
voices | int | — |