기술 자료

Unity Engine

Unity Engine

GetInheritedAlpha()

Get the final inherited alpha calculated by including all the parent alphas from included parent CanvasGroups.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public float GetInheritedAlpha()

Returns

Type

Description

floatThe calculated inherited alpha.

Remarks

Alpha is calculated by getting the alpha from all parent CanvasGroups (if GetIgnoreParentGroups is false) and multiplying the original alpha.