Skip to content

FloatUpdateArcElement

15.4

Inheritance 3 ancestors · 2 siblings

Class Documentation

Edit documentation

A float element that fills an arc from the displayed value. The arc starts at StartDegrees and covers (EndDegrees - StartDegrees) times the displayed value, with the value clamped to 0-1. The element passes the angles to the shader of the arc element in radians.

The element enables the arc element when the target value is greater than 0, and disables it otherwise.

If colors has entries, the element also sets the color of the arc element from the band of the target value (see 0xab5db4f2).

Properties

ArcElement

Hash = "0x0"
Edit documentation

The hash of the arc element that the value fills.

EndDegrees

U16 = 360
Edit documentation

The angle, in degrees, at which the full arc ends. A displayed value of 1 fills the arc to this angle.

FillDirection

U8 = 0
Edit documentation

A value that the element passes to the shader of the arc element. The fill direction of each value is not yet identified.

StartDegrees

U16 = 0
Edit documentation

The angle, in degrees, at which the arc starts.

StartPosition

U8 = 0
Edit documentation

A rotation of the arc in quarter turns, passed to the shader of the arc element.

Value Rotation
0 0 degrees
1 90 degrees
2 180 degrees
3 270 degrees

How the shader combines it with StartDegrees is not yet identified.