Class TrackBindingTypeAttribute
Specifies the type of object that should be bound to a TrackAsset.
Implements
Inherited Members
Namespace: UnityEngine .Timeline
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class TrackBindingTypeAttribute : Attribute, _Attribute
Remarks
Use this attribute when creating Custom Tracks to specify the type of object the track requires a binding to.
Examples
[TrackBindingType(typeof(Light), TrackBindingFlags.AllowCreateComponent)]
public class LightTrack : TrackAsset { }
Constructors
Name | Description |
---|---|
Track |
Creates a new TrackBindingTypeAttribute. |
Track |
Creates a new TrackBindingTypeAttribute. |