Animations.AnimatorControllerPlayable.GetLayerWeight

Unity · Версия 2020.3 LTS · Scripting · AnimatorControllerPlayable

Animations.AnimatorControllerPlayable.GetLayerWeight

Объявление

public float GetLayerWeight(int layerIndex);

Параметры

layerIndex Индекс слоя.

Возвращает

float Вес слоя.

Описание

Возвращает вес слоя по указанному индексу.

Обновлено 17 ноября 2026 г.