Skip to content

ValueBar ​

class in OpalScript

Draws a world-space bar for any numeric field or computed getter, or a directly supplied value.

Properties ​

MemberDescription
ValueBar.FractionRead-only runtime value. Use component methods to change state.
ValueBar.AvailableRead-only runtime value. Use component methods to change state.
ValueBar.DiagnosticRead-only runtime value. Use component methods to change state.

Methods ​

MemberDescription
ValueBar.SetValueSet the direct value used when Source Component is empty.
ValueBar.ShowShow the bar when its numeric source is available.
ValueBar.HideHide the bar.
ValueBar.IsAvailableWhether the current declared numeric source and display range are valid.

See also ​