Meter
Last updated
Was this helpful?
Last updated
Was this helpful?
The meter module allows for radial and linear meters. These are useful for showing progress, cooldowns, and other percentage based indicators.
Default: Radial
Whether the meter should be radial or linear in presentation.
Only available on Radial meters
The start angle of the radial meter in degrees. Vertical is 0. Can be negative.
Only available on Radial meters
The start angle of the radial meter in degrees. Vertical is 0. Can be negative.
Only available on Radial Meters
The weight of the stroke in percentage of radius. For example, a meter 100px wide, with a 50 stroke would have a 25px stroke.
The minimum value of the meter.
The maximum value of the meter.
The initial value of the meter when the Module is loaded.
The minimum height of the meter.
The maximum height of the meter.
The minimum width of the meter.
The maximum width of the meter.
The width of the meter.
The height of the meter.
The background color of the meter.
The color of the meter progress at the minimum value.
The color of the meter progress at the maximum value.
Fires when the current value reaches the minimum or maximum value.
Type
"maximum" | "minimum"
Whether the meter reached the minimum or maximum value.
meta.type
Sets the current value of the meter.
Value
number
The new value to set the meter to.
Sets the minimum value of the meter.
Value
number
The new value to set the minimum value to.
Sets the maximum value of the meter.
Value
number
The new value to set the maximum value to.