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

IAnimatorControllerPlayable.GetNextAnimatorClipInfo

Cambiar al Manual
public AnimatorClipInfo[] GetNextAnimatorClipInfo (int layerIndex);

Parámetros

layerIndex El indice de la capa.

Descripción

Obtiene la lista de AnimatorClipInfo actualmente siendo reproducida por el siguiente estado.

Only valid during a transition. See Also: AnimatorClipInfo.


public void GetNextAnimatorClipInfo (int layerIndex, List<AnimatorClipInfo> clips);

Parámetros

layerIndex El indice de la capa.
clips Arreglo para recibir resultados.

Descripción

Obtiene la lista de AnimatorClipInfo actualmente siendo reproducida por el siguiente estado.

This function is allocation-free if you pre-allocate the clips list with IAnimatorControllerPlayable.GetNextAnimatorClipInfoCount. Only valid during a transition. See Also: AnimatorClipInfo.