Light the body with the scene's lights (default), or show its imagery as it is.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TerrainBody), | intent(inout) | :: | self | |||
| logical, | intent(in) | :: | lit |
true: lit by the scene's lights; false: imagery as it is |
subroutine set_lighting(self, lit) class(TerrainBody), intent(inout) :: self logical, intent(in) :: lit !! true: lit by the scene's lights; false: imagery as it is self%lighting_ = lit call apply_settings(self) end subroutine set_lighting