The RgbaSignal
class monitors a RGBA color value.
Inherits From : ColorSignal
Property | Description |
---|---|
| (get) alpha: ScalarSignal Returns the value of the alpha channel between 0 and 1.0. |
| (get) blue: ScalarSignal Returns the value of the blue channel between 0 and 1.0. |
| (get) green: ScalarSignal Returns the value of the green channel between 0 and 1.0. |
| (get) lastValue: Color Returns a new Color containing the last value of the specified signal . |
| (get) red: ScalarSignal Returns the value of the red channel between 0 and 1.0. |
Method | Description |
---|---|
| pinLastValue(): RgbaSignal Returns a new RgbaSignal containing a constant value which is the last value of the specified signal before pinLastValue is called. |
| toHSVA(): HsvaSignal Convert this signal into HSVA color space. |
| toVec4(): Vec4Signal Convert this signal to Vector signal, using R, G, B, A for four components of vector respectively. |