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.

AnimationTrack.CreateClip

public Timeline.TimelineClip CreateClip(AnimationClip clip);

Parameters

clip Source animation clip of the resulting TimelineClip.

Returns

TimelineClip A new TimelineClip which has an AnimationPlayableAsset asset attached.

Description

Creates a TimelineClip using an AnimationClip.

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