In C++, enum AudioStreamInteractive::TransitionToTime has three "real"
members, plus MAX. Previously only TRANSITION_TO_TIME_SAME_POSITION and
TRANSITION_TO_TIME_START were bound for GDScript. But
TRANSITION_TO_TIME_PREVIOUS_POSITION can be set via the editor, so can
easily appear in an AudioStreamInteractive resource without needing to
drop down to C++. I can't see anything to suggest that it was
deliberately not exposed.
Bind this enum member. Add documentation.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This PR adds 3 types of audio streams used for interactive music support.
* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.
Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.