文档

Unity Engine

Unity Engine

GetLayerWeight(int)

Returns the weight of the layer at the specified index.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public float GetLayerWeight(int layerIndex)

Parameters

layerIndex

The layer index.

Returns

Type

Description

floatThe layer weight.