docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TimelineAsset

    A PlayableAsset that represents a timeline.

    Inheritance
    object
    Object
    ScriptableObject
    PlayableAsset
    TimelineAsset
    Implements
    IPlayableAsset
    ISerializationCallbackReceiver
    ITimelineClipAsset
    IPropertyPreview
    Inherited Members
    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, bool)
    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, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    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
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Timeline
    Assembly: solution.dll
    Syntax
    [ExcludeFromPreset]
    [Serializable]
    public class TimelineAsset : PlayableAsset, IPlayableAsset, ISerializationCallbackReceiver, ITimelineClipAsset, IPropertyPreview

    Properties

    Name Description
    clipCaps

    The capabilities supported by all clips in the timeline.

    duration

    The length, in seconds, of the timeline

    durationMode

    The mode used to determine the duration of the Timeline

    editorSettings

    Settings used by timeline for editing purposes

    fixedDuration

    The length of the timeline when durationMode is set to fixed length.

    markerTrack

    Gets the marker track for this TimelineAsset.

    outputTrackCount

    Returns the the number of output tracks in the Timeline.

    outputs

    A description of the PlayableOutputs that will be created by the timeline when instantiated.

    rootTrackCount

    Returns the number of tracks at the root level of the timeline.

    Methods

    Name Description
    CreateMarkerTrack()

    Creates a marker track for the TimelineAsset.

    CreatePlayable(PlayableGraph, GameObject)

    Creates an instance of the timeline

    CreateTrack(Type, TrackAsset, string)

    Allows you to create a track and add it to the Timeline.

    CreateTrack<T>()

    Creates a track and adds it to the Timeline Asset.

    CreateTrack<T>(string)

    Creates a track and adds it to the Timeline Asset.

    CreateTrack<T>(TrackAsset, string)

    Creates a track and adds it to the Timeline Asset.

    DeleteClip(TimelineClip)

    Delete a clip from this timeline.

    DeleteTrack(TrackAsset)

    Deletes a track from a timeline, including all clips and subtracks.

    GatherProperties(PlayableDirector, IPropertyCollector)

    Called by the Timeline Editor to gather properties requiring preview.

    GetOutputTrack(int)

    Retrives the output track from the given index.

    GetOutputTracks()

    Gets a list of all output tracks in the Timeline.

    GetRootTrack(int)

    Retrieves at root track at the specified index.

    GetRootTracks()

    Get an enumerable list of all root tracks.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, October 11, 2023