FromGradient(BackgroundGradient)
Creates a background from a BackgroundGradient.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static Background FromGradient(BackgroundGradient g)
Parameters
The gradient to use as a background. An empty gradient yields an empty background.
Returns
Type | Description |
|---|---|
| Background | A new background object. |