Class ClipEditor
Use this class to customize clip types in the TimelineEditor.
상속된 멤버
네임스페이스: UnityEditor.Timeline
어셈블리: solution.dll
구문
public class ClipEditor
생성자
이름 | 설명 |
---|---|
ClipEditor() | Default constructor |
메서드
이름 | 설명 |
---|---|
DrawBackground(TimelineClip, ClipBackgroundRegion) | Override this method to draw a background for a clip . |
GetClipOptions(TimelineClip) | Implement this method to override the default options for drawing a clip. |
GetDefaultHighlightColor(TimelineClip) | The color drawn under the clip. By default, the color is the same as the track color. |
GetErrorText(TimelineClip) | Gets the error text for the specified clip. |
GetSubTimelines(TimelineClip, PlayableDirector, List<PlayableDirector>) | Gets the sub-timelines for a specific clip. Implement this method if your clip supports playing nested timelines. |
OnClipChanged(TimelineClip) | Called when a clip is changed by the Editor. |
OnCreate(TimelineClip, TrackAsset, TimelineClip) | Called when a clip is created. |