Class EditTrack | DOTS Timeline | 0.4.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Class EditTrack

    Track that represents an edit of a timeline

    Inheritance
    Object
    DOTSTrack
    EditTrack
    Inherited Members
    DOTSTrack.Convert(ConversionContext)
    DOTSTrack.DeclareReferencedPrefabs(ConversionContext, List<GameObject>)
    DOTSTrack.GatherProperties(PlayableDirector, IPropertyCollector)
    Namespace: Unity.Timeline.ECS
    Syntax
    [Serializable]
    public class EditTrack : DOTSTrack, ILayerable

    Fields

    PreviewTrackMarker

    Declaration
    public PreviewTrackMarker PreviewTrackMarker
    Field Value
    Type Description
    PreviewTrackMarker

    TimeMarker

    The playhead marker used by the UI to show the time remapping of the track

    Declaration
    public PlayheadMarker TimeMarker
    Field Value
    Type Description
    PlayheadMarker

    Properties

    RemappedDuration

    The duration of the timeline when remapped with this take

    Declaration
    public double RemappedDuration { get; }
    Property Value
    Type Description
    Double

    Methods

    ConvertEdits(ConversionContext, ActiveRange)

    Compiles this particular edit of the timeline, using the provided active range

    Declaration
    public void ConvertEdits(ConversionContext context, ActiveRange activeRange)
    Parameters
    Type Name Description
    ConversionContext context
    ActiveRange activeRange

    ConvertTrack(ConversionContext, ActiveRange)

    Declaration
    public override void ConvertTrack(ConversionContext context, ActiveRange range)
    Parameters
    Type Name Description
    ConversionContext context
    ActiveRange range
    Overrides
    DOTSTrack.ConvertTrack(ConversionContext, ActiveRange)

    CreateLayerMixer(PlayableGraph, GameObject, Int32)

    Declaration
    public Playable CreateLayerMixer(PlayableGraph graph, GameObject go, int inputCount)
    Parameters
    Type Name Description
    PlayableGraph graph
    GameObject go
    Int32 inputCount
    Returns
    Type Description
    Playable

    GetOrderedClips()

    Returns the array of clips in the order they are executed

    Declaration
    public TimelineClip[] GetOrderedClips()
    Returns
    Type Description
    TimelineClip[]

    GetRemappedTime(DiscreteTime)

    Given the time on the track, returns the remapped time that will playback

    Declaration
    public DiscreteTime GetRemappedTime(DiscreteTime inputTime)
    Parameters
    Type Name Description
    DiscreteTime inputTime
    Returns
    Type Description
    DiscreteTime

    InvalidateCache()

    Invalidates the cache, forcing the clip ordering to be re-evaluated

    Declaration
    public void InvalidateCache()

    OnCreateClip(TimelineClip)

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

    ResetClipOrder()

    Clears the array of clip ordering

    Declaration
    public void ResetClipOrder()
    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