ドキュメント

Unity Engine

Unity Engine

SetLayerWeight(int, float)

Sets the weight of the layer at the given index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public void SetLayerWeight(int layerIndex, float weight)

Parameters

layerIndex

The layer index.

weight

The new layer weight.