Class TimelineEditor
Information currently being edited in the Timeline Editor Window.
상속된 멤버
네임스페이스: UnityEditor.Timeline
어셈블리: solution.dll
구문
public static class TimelineEditor
프로퍼티
이름 | 설명 |
---|---|
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. |
메서드
이름 | 설명 |
---|---|
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 |