C# Class CutsceneTracksView, silverscreen

Inheritance: ICutsceneGUI
Afficher le fichier Open project: mminer/silverscreen

Méthodes publiques

Méthode Description
CutsceneTracksView ( CutsceneEditor, ed ) : UnityEditor
OnGUI ( Rect rect ) : void

Displays the tracks GUI.

Private Methods

Méthode 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 méthode

public CutsceneTracksView ( CutsceneEditor, ed ) : UnityEditor
ed CutsceneEditor,
Résultat UnityEditor

OnGUI() public méthode

Displays the tracks GUI.
public OnGUI ( Rect rect ) : void
rect Rect The tracks' Rect.
Résultat void