C# Class CutsceneTimeline, silverscreen

Inheritance: ICutsceneGUI
Exibir arquivo Open project: mminer/silverscreen

Public Methods

Method Description
CutsceneTimeline ( CutsceneEditor, ed ) : UnityEditor
MovePlayheadToPosition ( float playheadPos ) : void

Moves the playhead.

OnGUI ( Rect rect ) : void

Displays the timeline's GUI.

SplitClipAtTime ( float splitPoint, CutsceneTrack, track, CutsceneClip, clip ) : CutsceneClip,

Splits a clip into two separate ones at the specified time.

Method Details

CutsceneTimeline() public method

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

MovePlayheadToPosition() public method

Moves the playhead.
public MovePlayheadToPosition ( float playheadPos ) : void
playheadPos float The position to move the playhead to.
return void

OnGUI() public method

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

SplitClipAtTime() public static method

Splits a clip into two separate ones at the specified time.
public static SplitClipAtTime ( float splitPoint, CutsceneTrack, track, CutsceneClip, clip ) : CutsceneClip,
splitPoint float The time at which to split the clip.
track CutsceneTrack, The track the clip is sitting on.
clip CutsceneClip, The clip to split.
return CutsceneClip,