Skip to reading
PCA Script Programming

set_scene_brightness()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Set Room Brightness | Action ID: SetSceneBrightness

Change a scene's brightness multiplier.

Source table from set_scene_brightness(), page 149
Option key / fieldMeaning and accepted inputDefault
Scene sceneIdChoose a scene ID.Blank
Brightness (0 = Dark, 1 = Normal) brightnessNumber; decimals allowed.1.0

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
set_scene_brightness({"sceneId": "lab", "brightness": 1.0})

In use. Darken the room slightly when the power fails. This is a broad rendering adjustment, not a command to move a light or create a reflective surface. Compare the result with exposure and renderer settings.

Page 149 of 357Permalink
Go to page