Class TimelineEditor
Information currently being edited in the Timeline Editor Window.
Inherited Members
Namespace: UnityEditor.Timeline
Assembly: solution.dll
Syntax
public static class TimelineEditor
Properties
Name | Description |
---|---|
inspectedAsset | The TimelineAsset currently being shown in the Timeline window. |
inspectedDirector | The PlayableDirector associated with the timeline currently being shown in the Timeline window. |
masterAsset | The TimelineAsset at the root of the hierarchy currently being shown in the Timeline window. |
masterDirector | The PlayableDirector responsible for the playback of the timeline currently being shown in the Timeline window. |
playableDirector | The PlayableDirector currently being shown in the Timeline Editor Window. |
selectedClip | The clip selected in the TimelineEditor. |
selectedClips | The list of clips selected in the TimelineEditor. |
timelineAsset | The TimelineAsset currently being shown in the Timeline Editor Window. |
Methods
Name | Description |
---|---|
GetInspectedTimeFromMasterTime(double) | Converts time from the master timeline to the current inspected timeline. |
GetMasterTimeFromInspectedTime(double) | Converts time from the current inspected timeline to the master timeline. |
GetOrCreateWindow() | Returns a reference to the Timeline Window. If the window is not opened, it will be opened. |
GetWindow() | Returns a reference to the Timeline Window. |
Refresh(RefreshReason) | Refreshes the different components affected by the currently inspected TimelineAsset, based on the RefreshReason provided.
For better performance, it is recommended that you invoke this method once, after you modify the
TimelineAsset. You should also combine reasons using the |