Is it possible to create more than one type of clip for a Track ?

Hello,

I’m trying to create custom track in order to be able to access a custom Monobehavior and call methods on it. Using the wizard it’s pretty easy to create a custom Track that will accept the behavior or create it when dragging an object onto it. But then, only one kind of clip will be available. So it seems that I have to create as much custom tracks as the number of methods I need to call in my custom Monobehavior.

Am’I right ? If not, how can I create multiple clip for a specific track ?

Thanks

The built in animation track seems to do it by implementing multiple TrackClipType attributes, it seems like it should be as easy to just add another as is done by AnimationTrack, but doesn’t seem to work. Is multiple clip types not supported on custom tracks?

Right now, multiple custom clips types per track is not supported. It is in our backlog though, so stay tuned!

Does the same apply to subtracks? Had a peek at how override tracks are created for animation, and it seems that SupportsChildTracksAttribute is internal. Is there another solution available?

Hi @julienb , did that change in the last 3 years?

Yes, multiple clip types are now supported on tracks. Or specify a base class and and child classes will be available to the track as well.

Tracks can now implement ILayerable if they support child tracks.

2 Likes

Great, thanks! :slight_smile: