기술 자료

Unity Engine

Unity Engine

SetLayerWeight(int, float)

Sets the weight of the layer at the given index.
읽는 시간 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.