Light3D
Visual · gpu_visualA light in the scene - directional, point, spot or ambient, with colour and intensity.
3dlightshadow

Parameters
| Name | Type | Range | Default | Description |
|---|---|---|---|---|
type | choice | 0 - 3 | 0 | (Directional, Point, Spot, Ambient) |
intensity | float | 0 - 10 | 1 | |
r | float | 0 - 1 | 1 | |
g | float | 0 - 1 | 1 | |
b | float | 0 - 1 | 1 | |
radius | float | 0.1 - 100 | 10 | |
pos_x | float | -50 - 50 | 0.5 | |
pos_y | float | -50 - 50 | 1 | |
pos_z | float | -50 - 50 | 0.8 | |
dir_x | float | -1 - 1 | -0.3637 | |
dir_y | float | -1 - 1 | -0.7274 | |
dir_z | float | -1 - 1 | -0.5819 | |
spot_angle | float | 5 - 90 | 45 | |
spot_blend | float | 0 - 1 | 0.1 | |
cast_shadow | choice | 0 - 1 | 1 | (Off, On) |
Ports
| Port | Direction | Description |
|---|---|---|
scene | out |