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

Script language

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

Experimental: this API is experimental and might be changed or removed in the future.

AnimationPlayableGraphExtensions

class in UnityEngine.Experimental.Director

Description

Extends PlayableGraph for Animation.

Static Functions

CreateAnimationClipPlayableCreates an AnimationClipPlayable in the PlayableGraph.
CreateAnimationMixerPlayableCreates an AnimationMixerPlayable in the PlayableGraph.
CreateAnimationOutputCreates an AnimationPlayableOutput in the PlayableGraph. When the AnimationPlayableOutput.sourcePlayable is set, the Animator will be playing the Playable.
CreateAnimatorControllerPlayableCreates an AnimatorControllerPlayable in the PlayableGraph.
DestroyOutputDestroys the PlayableOutput.
GetAnimationOutputReturns the AnimationPlayableOutput at the given index.
GetAnimationOutputCountGets the number of AnimationPlayableOutput in the PlayableGraph.