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.

TrackAsset.CreateDefaultClip

public Timeline.TimelineClip CreateDefaultClip();

Returns

TimelineClip A new TimelineClip that is attached to the track.

Description

Creates a default clip for this track, where the clip's asset type is based on any TrackClipTypeAttributes marking the track.

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