Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimatorControllerPlayable.GetCurrentAnimatorClipInfo

Declaration

public AnimatorClipInfo[] GetCurrentAnimatorClipInfo(int layerIndex);

Parameters

layerIndex The layer index.

Returns

AnimatorClipInfo[] An array of all the AnimatorClipInfo in the current state.

Description

Returns an array of all the AnimatorClipInfo in the current state of the given layer.