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.

AnimationClipPlayable

class in UnityEngine.Experimental.Director

/

Inherits from:Experimental.Director.AnimationPlayable

Description

Playable that plays an AnimationClip. Can be used as an input to an AnimationPlayable.

Variables

applyFootIKApplies Humanoid FootIK solver.
clip AnimationClip played by this Playable.
speedThe speed at which the AnimationClip is played.

Inherited members

Variables

handleReturns the PlayableHandle for this playable.

Public Functions

IsValidReturns true if the Playable is valid. A playable can be invalid if it was disposed. This is different from a Null playable.

Messages

OnSetPlayStateCallback called when the PlayState has changed
OnSetTimeCallback called when the current time has changed
PrepareFramePrepares the Playable tree for the next frame. PrepareFrame is called before the tree is evaluated.