Called each frame just before drawing, the scene at time t and the
camera placed (see the module documentation): e.g. to move HUD text
next to a moving object, or frames. A view following a frame moved here
follows it in this frame's drawing (its transform is taken again after);
trajectories' points changed here are drawn from the next frame (change
them in before_update).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowEventHandler), | intent(inout) | :: | self | |||
| class(WindowProxy), | intent(inout) | :: | window |
the window about to draw |
||
| real(kind=wp), | intent(in) | :: | t |
simulation time |
subroutine handler_before_draw(self, window, t) class(WindowEventHandler), intent(inout) :: self class(WindowProxy), intent(inout) :: window !! the window about to draw real(wp), intent(in) :: t !! simulation time end subroutine handler_before_draw