docs.unity3d.com
    Show / Hide Table of Contents

    Class TimelinePreferences

    Store the editor preferences for Timeline.

    Inheritance
    Object
    TimelinePreferences
    Namespace: Global Namespace
    Syntax
    public class TimelinePreferences : ScriptableSingleton<TimelinePreferences>

    Fields

    edgeSnap

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

    Declaration
    public bool edgeSnap
    Field Value
    Type Description
    Boolean

    playbackScrollMode

    Behavior of the timeline window during playback.

    Declaration
    public PlaybackScrollMode playbackScrollMode
    Field Value
    Type Description
    PlaybackScrollMode

    showAudioWaveform

    Draw the waveforms for all audio clips.

    Declaration
    public bool showAudioWaveform
    Field Value
    Type Description
    Boolean

    snapToFrame

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

    Declaration
    public bool snapToFrame
    Field Value
    Type Description
    Boolean

    timeFormat

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

    Declaration
    public TimeFormat timeFormat
    Field Value
    Type Description
    TimeFormat

    timeUnitInFrame

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

    Declaration
    public bool timeUnitInFrame
    Field Value
    Type Description
    Boolean

    Properties

    audioScrubbing

    Enables audio scrubbing when moving the playhead.

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

    Methods

    Save()

    Save the timeline preferences settings file.

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