The diffuse color of the window's light (see set_light_ambient).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowProxy), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | rgb(3) |
[r, g, b], 0 to 1 (default white) |
subroutine set_light_diffuse(self, rgb) class(WindowProxy), intent(inout) :: self real(wp), intent(in) :: rgb(3) !! [r, g, b], 0 to 1 (default white) self%light_diffuse_ = rgb call apply_window_light(self) end subroutine set_light_diffuse