AudioStreamPlaybackInteractive
Playback component of AudioStreamInteractive.
Playback component of AudioStreamInteractive.
Playback component of AudioStreamInteractive. Contains functions to change the currently played clip.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Methods3
GetCurrentClipIndexint
public int GetCurrentClipIndex();Return the index of the currently playing clip. You can use this to get the name of the currently playing clip with AudioStreamInteractive.GetClipName.
Example: Get the currently playing clip name from inside an AudioStreamPlayer node.
Returns
intSwitchToClipvoid
public void SwitchToClip(int clipIndex);Switch to a clip (by index).
| Name | Type | Default |
|---|---|---|
clipIndex | int | — |
SwitchToClipByNamevoid
public void SwitchToClipByName(StringName clipName);Switch to a clip (by name).
| Name | Type | Default |
|---|---|---|
clipName | StringName | — |
Reckfell Engine documentationBack to top ↑