Version: 2022.3
LanguageEnglish
  • C#

AnimationClipPlayable

struct in UnityEngine.Animations

/

Implemented in:UnityEngine.AnimationModule


Implements interfaces:IPlayable

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A Playable that controls an AnimationClip.

NOTE: You can use PlayableExtensions methods with AnimationClipPlayable objects.

Public Methods

GetAnimationClipReturns the AnimationClip stored in the AnimationClipPlayable.
GetApplyFootIKReturns the state of the ApplyFootIK flag.
GetApplyPlayableIKReturns the state of the ApplyPlayableIK flag.
SetApplyFootIKSets the value of the ApplyFootIK flag.
SetApplyPlayableIKRequests OnAnimatorIK to be called on the animated GameObject.

Static Methods

CreateCreates an AnimationClipPlayable in the PlayableGraph.