Class AudioPlayableAsset
PlayableAsset wrapper for an AudioClip in Timeline.
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
[Serializable]
public class AudioPlayableAsset : PlayableAsset, IPlayableAsset, ITimelineClipAsset
Properties
Name | Description |
---|---|
clip | The audio clip to be played |
clipCaps | Returns the capabilities of TimelineClips that contain an AudioPlayableAsset |
duration | Returns the duration required to play the audio clip exactly once |
loop | Whether the audio clip loops. |
outputs | Returns a description of the PlayableOutputs that may be created for this asset. |
Methods
Name | Description |
---|---|
CreatePlayable(PlayableGraph, GameObject) | Creates the root of a Playable subgraph to play the audio clip. |