docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TimelinePreferences

    Store the editor preferences for Timeline.

    Inheritance
    object
    Object
    ScriptableObject
    ScriptableSingleton<TimelinePreferences>
    TimelinePreferences
    Inherited Members
    ScriptableSingleton<TimelinePreferences>.Save(bool)
    ScriptableSingleton<TimelinePreferences>.instance
    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.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Global Namespace
    Assembly: Unity.Timeline.Editor.dll
    Syntax
    public class TimelinePreferences : ScriptableSingleton<TimelinePreferences>

    Fields

    edgeSnap

    Enable the ability to snap clips on the edge of another clip.

    Declaration
    [SerializeField]
    public bool edgeSnap
    Field Value
    Type Description
    bool

    playbackScrollMode

    Behavior of the timeline window during playback.

    Declaration
    [SerializeField]
    public PlaybackScrollMode playbackScrollMode
    Field Value
    Type Description
    PlaybackScrollMode

    showAudioWaveform

    Draw the waveforms for all audio clips.

    Declaration
    [SerializeField]
    public bool showAudioWaveform
    Field Value
    Type Description
    bool

    snapToFrame

    Enable Snap to Frame to manipulate clips and align them on frames.

    Declaration
    [SerializeField]
    public bool snapToFrame
    Field Value
    Type Description
    bool

    timeFormat

    The time unit used by the Timeline Editor when displaying time values.

    Declaration
    [SerializeField]
    public TimeFormat timeFormat
    Field Value
    Type Description
    TimeFormat

    timeUnitInFrame

    Define the time unit for the timeline window. true : frame unit. false : timecode unit.

    Declaration
    [NonSerialized]
    [Obsolete("timeUnitInFrame is deprecated. Use timeFormat instead", false)]
    public bool timeUnitInFrame
    Field Value
    Type Description
    bool

    Properties

    audioScrubbing

    Enables audio scrubbing when moving the playhead.

    Declaration
    public bool audioScrubbing { get; set; }
    Property Value
    Type Description
    bool

    playbackLockedToFrame

    Enable Timelines to be evaluated on frame during editor preview.

    Declaration
    public bool playbackLockedToFrame { get; set; }
    Property Value
    Type Description
    bool

    Methods

    Save()

    Save the timeline preferences settings file.

    Declaration
    public void Save()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)