Whether this frame or one of its descendants has a light source enabled.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(in) | :: | self |
recursive logical function has_light_source(self) result(has) class(ReferenceFrame), intent(in) :: self integer :: k has = self%light_source do k = 1, self%n_children if (has) return has = self%children(k)%p%has_light_source() end do end function has_light_source