GetInheritedAlpha()
Get the final inherited alpha calculated by including all the parent alphas from included parent CanvasGroups.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public float GetInheritedAlpha()
Returns
Type | Description |
|---|---|
| float | The calculated inherited alpha. |
Remarks
Alpha is calculated by getting the alpha from all parent CanvasGroups (if GetIgnoreParentGroups is false) and multiplying the original alpha.