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

IAnimatorControllerPlayable.GetCurrentAnimatorClipInfo

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

Parámetros

layerIndex El indice de la capa.

Descripción

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

See Also: AnimatorClipInfo.


public void GetCurrentAnimatorClipInfo (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 estado actual.

This function is allocation-free if you pre-allocate the clips list with IAnimatorControllerPlayable.GetCurrentAnimatorClipInfoCount.