Percent(Color, float)
Construct a stop expressed as a percentage of the gradient extent.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static BackgroundGradientStop Percent(Color color, float fraction)
Parameters
Returns
Type | Description |
|---|---|
| BackgroundGradientStop |