Using a color selector
Writing program scripts with JavaScriptUsing a color selector
- Use the color selector to change the lamp bulb color
- Route the toggle script node's
on_changed
eventOut into the selector script node's
set_selection eventIn
- Route the selector script node's
color_changed
eventOut into the bulb Material
node's
set_emissiveColor eventIn