How fast the mouse zooms (default 1, VSG's: 10% per wheel step, and a right drag's rate): e.g. 0.3 for a gentler zoom. Scales scroll steps however they come (a mouse wheel, a trackpad, a host's scroll).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowProxy), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | speed |
(> 0; 1: the default) |
subroutine set_zoom_speed(self, speed) class(WindowProxy), intent(inout) :: self real(wp), intent(in) :: speed !! (> 0; 1: the default) if (speed <= 0.0_wp) return self%zoom_speed_ = speed call apply_camera_controls(self) end subroutine set_zoom_speed