Class TrackEditor
Use this class to customize track types in the TimelineEditor.
Inherited Members
Namespace: UnityEditor.Timeline
Assembly: solution.dll
Syntax
public class TrackEditor
Fields
Name | Description |
---|---|
DefaultTrackHeight | The default height of a track. |
MaximumTrackHeight | The maximum height of a track. |
MinimumTrackHeight | The minimum unscaled height of a track. |
Methods
Name | Description |
---|---|
GetBindingFrom(Object, TrackAsset) | Override this method to determine which object to bind to By default, the |
GetBindingType(TrackAsset) | Gets the binding type for a track. |
GetErrorText(TrackAsset, Object, TrackBindingErrors) | Gets the error text for the specified track. |
GetTrackColor(TrackAsset) | Gets the color information of a track. |
GetTrackOptions(TrackAsset, Object) | Implement this method to override the default options for drawing a track. |
IsBindingAssignableFrom(Object, TrackAsset) | Override this method to validate if a binding for The default implementation of this method will return true if
|
OnCreate(TrackAsset, TrackAsset) | Callback for when a track is created. |
OnTrackChanged(TrackAsset) | Callback for when a track is changed. |