The HsvaSignal
class monitors a HSVA color value.
Inherits From : ColorSignal
Property | Description |
---|---|
| (get) alpha: ScalarSignal Returns the value of the alpha channel of this signal. |
| (get) brightness: ScalarSignal Returns the value of the brightness (value ) channel of this signal. |
| (get) hue: ScalarSignal Returns the value of the hue channel of this signal. |
| (get) lastValue: Color Returns a new Color containing the last value of the specified signal . |
| (get) saturation: ScalarSignal Returns the value of the saturation channel of this signal. |
Method | Description |
---|---|
| pinLastValue(): HsvaSignal Returns a new HsvaSignal containing a constant value which is the last value of the specified signal before pinLastValue is called. |
| toRGBA(): RgbaSignal Convert this signal into RGBA color space. Be aware, that there is a potential loss of data, when converting HSVA values with Saturation set to 0. |
| toVec4(): Vec4Signal Convert this signal to Vector signal, using H, S, V, A for four components of vector respectively. |