Open topic with navigation
Lights Command Table
Adding lights
<viz>.addLight
<viz>.setLightGroup
Adjusting lights
<node3d:light>.constantattenuation
<node3d:light>.direction
<node3d:light>.disable
<node3d:light>.enable
<node3d:light>.getNumber
<node3d:light>.intensity
<node3d:light>.linearattenuation
<node3d:light>.position
<node3d:light>.quadraticattenuation
<node3d:light>.spotexponent
<node3d:light>.spread
Headlight
<viewpoint>.getHeadLight
See also
In this section:
Light basics
Light properties
Adding lights
Other sections:
3D model command tables
Example scripts:
Spotlight
Shadows