The light's radius (scene units; 0: the light's own, if a Sphere).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ShadowCones), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | radius |
scene units (0: the light's own) |
subroutine set_light_radius(self, radius) class(ShadowCones), intent(inout) :: self real(wp), intent(in) :: radius !! scene units (0: the light's own) self%light_radius_ = max(0.0_wp, radius) end subroutine set_light_radius