C# Class CutsceneTracksView, silverscreen

Inheritance: ICutsceneGUI
Show file Open project: mminer/silverscreen

Public Methods

Method Description
CutsceneTracksView ( CutsceneEditor, ed ) : UnityEditor
OnGUI ( Rect rect ) : void

Displays the tracks GUI.

Private Methods

Method Description
DisplayClip ( Rect trackRect, CutsceneTrack, track, CutsceneClip, clip ) : void

Displays a clip.

DisplayTrack ( Rect rect, CutsceneTrack, track ) : void

Displays visual tracks upon which clips sit.

DrawInLine ( Rect rect ) : void

Draws the in point line over the timeline.

DrawLines ( Rect rect ) : void

Draws the in, out, and playhead lines.

DrawOutLine ( Rect rect ) : void

Draws the out point line over the timeline.

DrawPlayhead ( Rect rect ) : void

Draws the playhead over the timeline.

SplitClip ( CutsceneTrack, track, CutsceneClip, clip, Vector2 mousePosition ) : CutsceneClip,

Splits a clip into two separate ones.

Method Details

CutsceneTracksView() public method

public CutsceneTracksView ( CutsceneEditor, ed ) : UnityEditor
ed CutsceneEditor,
return UnityEditor

OnGUI() public method

Displays the tracks GUI.
public OnGUI ( Rect rect ) : void
rect Rect The tracks' Rect.
return void