RGBColorNumberLightNameLightStatusLightStateLightStateLightStateLightStateRGBColorGet the Color
Kind: Instance method of LightState
Returns: RGBColor - the KEY_COLOR value
NumberGet the Density
Kind: Instance method of LightState
Returns: Number - the KEY_DENSITY value
LightNameGet the IdParam
Kind: Instance method of LightState
Returns: LightName - the KEY_ID value
LightStatusGet the Status
Kind: Instance method of LightState
Returns: LightStatus - the KEY_STATUS value
LightStateSet the Color
Kind: Instance method of LightState
Returns: LightState - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| color | RGBColor |
The desired Color. |
LightStateSet the Density
Kind: Instance method of LightState
Returns: LightState - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| density | Number |
The desired Density. {'num_min_value': 0.0, 'num_max_value': 1.0} |