ValueBar
class in OpalScript
Draws a world-space bar for any numeric field or computed getter, or a directly supplied value.
Properties
| Member | Description |
|---|---|
| ValueBar.Fraction | Read-only runtime value. Use component methods to change state. |
| ValueBar.Available | Read-only runtime value. Use component methods to change state. |
| ValueBar.Diagnostic | Read-only runtime value. Use component methods to change state. |
Methods
| Member | Description |
|---|---|
| ValueBar.SetValue | Set the direct value used when Source Component is empty. |
| ValueBar.Show | Show the bar when its numeric source is available. |
| ValueBar.Hide | Hide the bar. |
| ValueBar.IsAvailable | Whether the current declared numeric source and display range are valid. |