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

AnimationClipPlayable

struct in UnityEngine.Experimental.Director

Switch to Manual

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.
durationDuration in seconds.
outputCountThe count of outputs on the Playable. Currently only 1 output is supported.
speedThe speed at which the AnimationClip is played.
stateCurrent PlayState of this playable. This indicates whether the Playable is currently playing or paused.
timeCurrent time in seconds.

Public Functions

CastToYou can use the CastTo method to perform certain types of conversions between compatible reference types or nullable types.
DestroyCall this method to release the resources associated to this Playable.
GetOutputReturns the Playable connected at the specified output index.
IsValidReturns true if the Playable is valid. A playable can be invalid if it was disposed. This is different from a Null playable.

Static Functions

CreateCreates an AnimationClipPlayable.