Class TrackColorAttribute
Attribute used to specify the color of the track and its clips inside the Timeline Editor.
Inherited Members
Namespace: UnityEngine .Timeline
Assembly: Unity.Timeline.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class TrackColorAttribute : Attribute
Constructors
TrackColorAttribute(float, float, float)
Specify the track color using [0-1] R,G,B values.
Declaration
public TrackColorAttribute(float r, float g, float b)
Parameters
Properties
color
Declaration
public Color color { get; }
Property Value
Type | Description |
---|---|
Color |