Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TimelineAsset.GetRootTracks

public IEnumerable<TrackAsset> GetRootTracks();

Description

Get an enumerable list of all root tracks.

A root track refers to all tracks that occur at the root of the timeline. These are the outmost level GroupTracks, and output tracks that do not belong to any group.

Did you find this page useful? Please give it a rating: