Skip to main content

InteractiveLightBar

Decorative coloured light bar that supports effects, usually mounted on the dashboard (e.g. BMW i7 Interactive bar).

type InteractiveLightBar {
color: String
effect: String
intensity(
unit: RelationUnitEnum = PERCENT
): UInt8
isLightOn: Boolean
}

Fields

InteractiveLightBar.color ● String scalar

Hexadecimal color code represented as a 3-byte RGB (i.e. Red, Green, and Blue) value preceded by a hash symbol "#". Allowed range "#000000" to "#FFFFFF".

InteractiveLightBar.effect ● String scalar

Light effect selection from a predefined set of allowed values.

InteractiveLightBar.intensity ● UInt8 scalar

How much of the maximum possible brightness of the light is used. 1 = Maximum attenuation, 100 = No attenuation (i.e. full brightness).

InteractiveLightBar.intensity.unit ● RelationUnitEnum enum

InteractiveLightBar.isLightOn ● Boolean scalar

Indicates whether the light is turned on. True = On, False = Off.

Member Of

Light object