Class PlayableTrack | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PlayableTrack

    A PlayableTrack is a track whose clips are custom playables.

    Inheritance
    System.Object
    TrackAsset
    PlayableTrack
    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.outputs
    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.CalculateItemsHash()
    TrackAsset.CreatePlayable(PlayableGraph, GameObject, TimelineClip)
    TrackAsset.GetAnimationClipHash(AnimationClip)
    TrackAsset.OnBeforeTrackSerialize()
    TrackAsset.OnAfterTrackDeserialize()
    Namespace: UnityEngine.Timeline
    Syntax
    [Serializable]
    public class PlayableTrack : TrackAsset, IPropertyPreview, ICurvesOwner, PlayableAsset
    Remarks

    This is a track that can contain PlayableAssets that are found in the project and do not have their own specified track type.

    Methods

    OnCreateClip(TimelineClip)

    Called when a clip is created on a track.

    Declaration
    protected override void OnCreateClip(TimelineClip clip)
    Parameters
    Type Name Description
    TimelineClip clip

    The timeline clip added to this track

    Overrides
    TrackAsset.OnCreateClip(TimelineClip)
    Remarks

    Use this method to set default values on a timeline clip, or it's PlayableAsset.

    Extension Methods

    TrackAssetExtensions.GetGroup(TrackAsset)
    TrackAssetExtensions.SetGroup(TrackAsset, GroupTrack)
    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