C# Class UnityContrib.UnityEditor.TimelineLogWindow

Editor window displaying the timeline.
Inheritance: BaseEditorWindow, IHasCustomMenu
Mostra file Open project: UnityContrib/framework

Public Methods

Method Description
AddItemsToMenu ( GenericMenu menu ) : void

Adds export feature to timeline menu.

Protected Methods

Method Description
OnEnable ( ) : void

Loads skin and caches references to styles.

OnGUI ( ) : void

Prepares and renders the timeline.

OnPlayStarted ( ) : void

Repaints the timeline when start playing.

OnPlayStopped ( ) : void

Repaints the timeline when end playing.

Private Methods

Method Description
CalculateLayout ( ) : void

Calculates sizes and boundaries for the timeline.

DrawBackground ( ) : void

Renders the background of the timeline.

DrawEntries ( ) : void

Renders the entries.

DrawNames ( ) : void

Renders the header column.

DrawScrollbars ( ) : void

Renders the scrollbars.

DrawWindow ( ) : void

Renders the timeline.

DrawZoomInfo ( ) : void

Renders the zoom level.

ExportAsCSV ( ) : void

Exports the timeline to comma separated values (CSV) plain text file format.

ShowWindow ( ) : void
UpdateZoom ( ) : void

Converts mouse input to zoom level.

Method Details

AddItemsToMenu() public method

Adds export feature to timeline menu.
public AddItemsToMenu ( GenericMenu menu ) : void
menu UnityEditor.GenericMenu /// The menu to add the features to. ///
return void

OnEnable() protected method

Loads skin and caches references to styles.
protected OnEnable ( ) : void
return void

OnGUI() protected method

Prepares and renders the timeline.
protected OnGUI ( ) : void
return void

OnPlayStarted() protected method

Repaints the timeline when start playing.
protected OnPlayStarted ( ) : void
return void

OnPlayStopped() protected method

Repaints the timeline when end playing.
protected OnPlayStopped ( ) : void
return void