Class AudioTrack
A Timeline track that can play AudioClips.
Inherited Members
Namespace: UnityEngine.Timeline
Syntax
[Serializable]
[TrackClipType(typeof(AudioPlayableAsset), false)]
[TrackBindingType(typeof(AudioSource))]
public class AudioTrack : TrackAsset, IPropertyPreview, ICurvesOwner, PlayableAsset
Properties
outputs
Returns a description of the PlayableOutputs that will be created by this track.
Declaration
public override IEnumerable<PlayableBinding> outputs { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<PlayableBinding> |
Overrides
Methods
CreateClip(AudioClip)
Create an TimelineClip for playing an AudioClip on this track.
Declaration
public TimelineClip CreateClip(AudioClip clip)
Parameters
| Type | Name | Description |
|---|---|---|
| AudioClip | clip | The audio clip to play |
Returns
| Type | Description |
|---|---|
| TimelineClip | A TimelineClip with an AudioPlayableAsset asset. |