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 |
---|---|
TrackBindingTypeAttribute(Type) | Creates a new TrackBindingTypeAttribute. |
TrackBindingTypeAttribute(Type, TrackBindingFlags) | Creates a new TrackBindingTypeAttribute. |
Fields
Name | Description |
---|---|
flags | Options for the the track binding |
type | The type of binding for the associate track. |