ProgressBarConfig

Configuration for progress bar fields.

namespace Sirenix.Utilities.Editor
{
public struct ProgressBarConfig
}

Requirements

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Static Properties

Return Type Definition Description
ProgressBarConfig Default Default configuration.

Fields

Return Type Definition Description
Color BackgroundColor The background color of the progress bar field.
bool DrawValueLabel If true the progress bar field will draw a label ontop to show the current value.
Color ForegroundColor The foreground color of the progress bar field.
int Height The height of the progress bar field. Default 12 pixel.
TextAlignment ValueLabelAlignment Alignment of the progress bar field overlay.

Constructors

Definition Description
ProgressBarConfig(int, Color, Color, bool, TextAlignment) Creates a progress bar configuration.
ProgressBarConfig(ProgressBarConfig) Creates a copy of the configuration.