Class TimelinePreferences
Store the editor preferences for Timeline.
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()