Skip to content

API reference Obsidian.API.Client.Screens

ProgressBar class

An image shown in part, like a furnace's arrow and flame: the part ProgressBar.Progress says, from the side ProgressBar.Direction starts at.

public sealed class ProgressBar : Widget

In Obsidian.API.Client.

Constructors

public ProgressBar();

Properties

Direction

public ProgressDirection Direction { get; set; }

Which way the bar fills.

Progress

public float Progress { get; set; }

How full the bar is, from 0 to 1. The part shown is rounded up to whole pixels, like vanilla's furnace arrow.

Source

public GuiImage Source { get; set; }

The full bar's image, drawn at the widget's size and cut to its progress.

On this page