This version of Unity is unsupported.

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.