Class TrackBindingTypeAttribute
Specifies the type of object that should be bound to a TrackAsset.
구현
상속된 멤버
네임스페이스: UnityEngine.Timeline
어셈블리: solution.dll
구문
[AttributeUsage(AttributeTargets.Class)]
public class TrackBindingTypeAttribute : Attribute, _Attribute
참고
Use this attribute when creating Custom Tracks to specify the type of object the track requires a binding to.
예
[TrackBindingType(typeof(Light), TrackBindingFlags.AllowCreateComponent)]
public class LightTrack : TrackAsset { }
생성자
이름 | 설명 |
---|---|
TrackBindingTypeAttribute(Type) | Creates a new TrackBindingTypeAttribute. |
TrackBindingTypeAttribute(Type, TrackBindingFlags) | Creates a new TrackBindingTypeAttribute. |
필드
이름 | 설명 |
---|---|
flags | Options for the the track binding |
type | The type of binding for the associate track. |