Class AudioTrack | Timeline | 1.2.18
docs.unity3d.com
    Show / Hide Table of Contents

    Class AudioTrack

    A Timeline track that can play AudioClips.

    Inheritance
    Object
    Object
    ScriptableObject
    PlayableAsset
    TrackAsset
    AudioTrack
    Inherited Members
    TrackAsset.m_Clips
    TrackAsset.start
    TrackAsset.end
    TrackAsset.duration
    TrackAsset.muted
    TrackAsset.mutedInHierarchy
    TrackAsset.timelineAsset
    TrackAsset.parent
    TrackAsset.GetClips()
    TrackAsset.isEmpty
    TrackAsset.hasClips
    TrackAsset.hasCurves
    TrackAsset.isSubTrack
    TrackAsset.GetChildTracks()
    TrackAsset.curves
    TrackAsset.locked
    TrackAsset.lockedInHierarchy
    TrackAsset.supportsNotifications
    TrackAsset.CreateCurves(String)
    TrackAsset.CreateTrackMixer(PlayableGraph, GameObject, Int32)
    TrackAsset.CreatePlayable(PlayableGraph, GameObject)
    TrackAsset.CreateDefaultClip()
    TrackAsset.CreateClip<T>()
    TrackAsset.CreateMarker(Type, Double)
    TrackAsset.CreateMarker<T>(Double)
    TrackAsset.DeleteMarker(IMarker)
    TrackAsset.GetMarkers()
    TrackAsset.GetMarkerCount()
    TrackAsset.GetMarker(Int32)
    TrackAsset.GatherProperties(PlayableDirector, IPropertyCollector)
    TrackAsset.OnCreateClip(TimelineClip)
    TrackAsset.CalculateItemsHash()
    TrackAsset.CreatePlayable(PlayableGraph, GameObject, TimelineClip)
    TrackAsset.GetAnimationClipHash(AnimationClip)
    TrackAsset.OnBeforeTrackSerialize()
    TrackAsset.OnAfterTrackDeserialize()
    TrackAsset.ISerializationCallbackReceiver.OnBeforeSerialize()
    TrackAsset.ISerializationCallbackReceiver.OnAfterDeserialize()
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.Timeline
    Syntax
    [Serializable]
    [TrackClipType(typeof(AudioPlayableAsset), false)]
    [TrackBindingType(typeof(AudioSource))]
    [ExcludeFromPreset]
    public class AudioTrack : TrackAsset, IPlayableAsset, IPropertyPreview, ICurvesOwner, ISerializationCallbackReceiver

    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
    IEnumerable<PlayableBinding>
    Overrides
    TrackAsset.outputs

    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.

    Extension Methods

    TrackAssetExtensions.GetGroup(TrackAsset)
    TrackAssetExtensions.SetGroup(TrackAsset, GroupTrack)
    In This Article
    • Properties
      • outputs
    • Methods
      • CreateClip(AudioClip)
    • Extension Methods
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023