43b78cd2ad
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.
27 lines
910 B
XML
27 lines
910 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="AudioStreamPlaybackInteractive" inherits="AudioStreamPlayback" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
Playback component of [AudioStreamInteractive].
|
|
</brief_description>
|
|
<description>
|
|
Playback component of [AudioStreamInteractive]. Contains functions to change the currently played clip.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="switch_to_clip">
|
|
<return type="void" />
|
|
<param index="0" name="clip_index" type="int" />
|
|
<description>
|
|
Switch to a clip (by index).
|
|
</description>
|
|
</method>
|
|
<method name="switch_to_clip_by_name">
|
|
<return type="void" />
|
|
<param index="0" name="clip_name" type="StringName" />
|
|
<description>
|
|
Switch to a clip (by name).
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|