Class ClipEditor
Use this class to customize clip types in the TimelineEditor.
Inherited Members
Namespace: UnityEditor.Timeline
Assembly: solution.dll
Syntax
public class ClipEditor
Constructors
| Name | Description |
|---|---|
| ClipEditor() | Default constructor |
Methods
| Name | Description |
|---|---|
| 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. |