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.GetRootTrack

public Timeline.TrackAsset GetRootTrack(int index);

Parameters

index Index of the root track to get. Must be between 0 and rootTrackCount.

Description

Retrieves at root track at the specified index.

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: