The body's opacity (set_opacity).
Sphere
pure real(wp) function opacity(self) class(Sphere), intent(in) :: self opacity = self%opacity_ end function opacity