Class MarkerTrack
A PlayableAsset representing a track inside a timeline.
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
[Serializable]
[TrackBindingType(typeof(GameObject))]
[ExcludeFromPreset]
public class MarkerTrack : TrackAsset, IPlayableAsset, IPropertyPreview, ISerializationCallbackReceiver
Remarks
Derive from TrackAsset to implement custom timeline tracks. TrackAsset derived classes support the following attributes:
HideInMenuAttributeTrackColorAttributeTrackClipTypeAttributeTrackBindingTypeAttributeDisplayNameAttribute
Examples
using UnityEngine;
using UnityEngine.Timeline;
[DisplayName("Custom Lighting Track")]
[TrackColor(1,0,0)]
[TrackBindingType(typeof(Light))]
[TrackClipType(typeof(PointLightClip))]
[TrackClipType(typeof(SpotLightClip))]
public class LightTrack : TrackAsset
{
}
Properties
Name | Description |
---|---|
outputs | Returns a description of the PlayableOutputs that will be created by this track. |