The sides' color ([r, g, b] or [r, g, b, a]; their alpha makes them transparent).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PolyhedralCone), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | color(:) |
[r, g, b] or [r, g, b, a] (0 to 1) |
subroutine set_cone_color(self, color) class(PolyhedralCone), intent(inout) :: self real(wp), intent(in) :: color(:) !! [r, g, b] or [r, g, b, a] (0 to 1) call set_rgba(self%cone_color_, color) call make_cone(self) end subroutine set_cone_color