|Lerp|Float| The reference value to use to lerp between different tracks with different values. This does not have to be 0-1, and can be any value.
|Lerp|Float| The reference value to use to lerp between different tracks with different values. This does not have to be 0-1, and can be any value.
|Tracks|{{RootFieldType|SyncList`1|[[#Track|Track]]}}|TypeAdv1=true| A list of track's to lerp between using <code>Lerp</code>.
|Tracks|{{RootFieldType|SyncList`1|[[#Track|LerpingMultiClipPlayer.Track]]}}|TypeAdv1=true| A list of track's to lerp between using <code>Lerp</code>.
}}
}}
Latest revision as of 06:03, 17 March 2025
Component image
Lerping Multi Clip Player component as seen in the Scene Inspector
The LerpingMultiClipPlayer component is an IAudioSource type that transitions between different audio clips (tracks) by lerping the volume and speed from one audio to the other using Lerp.
When an audio is lerped to, the audio will continue to loop till Lerp is moved to another clips range.
If Lerp is not within a clip range, this component will provide silent audio.