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.


Did you find this page useful? Please give it a rating: