Light Source

Parent

A control panel to configure multiple lights at once.

Properties

colorSlot : Int

The color slot the lights should use.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Color Slot

intensity : Float

The intensity of the lights.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Intensity

isLightEnabled : Bool

True if the lights should be enabled

Details
Flags RuntimeSync RuntimeParallel

Display Name

Is Light Enabled

isTimeOfDayAware : Bool

True if the lights should automatically turn on and off depending on the time of the day.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Is Time of Day Aware

Functions

setColorFromSlot (slot : Int, color : Struct<Color>)

Allows to update the light color that is referenced by the given slot.

Details

Flags

RuntimeSync MemberFunc

Display Name

Set Color from Slot

Parameters
Name Type Description

Slot slot

Int

The slot you want to update the referencing color for.

Color color

Struct<Color>

The color this slot should now reference.