UsageDial
Usage Dial is a VisualElement to display a values with a color dial.
Read time 7 minutesLast updated 9 days ago
Definition
- Type: Class
- Namespace: UnityEditor.AdaptivePerformance.UI.Editor
- Assembly: UnityEditor.AdaptivePerformanceModule
- Inherits from: VisualElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
public class UsageDial : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
Constructors
Constructor | Description |
|---|---|
| UsageDial() | Constructor, setups the usage dial with its correct percentages. |
Properties
Property | Description |
|---|---|
| ShowLabel | If the usage dial should show the percentage label. |
| Value | A value the usage dial should represent. |
Methods
Method | Description |
|---|---|
| SetThresholds | Change the percentage levels of the dial. |