module

PlaceOS::Driver::Interface::Zoomable

Implements the direct zoom_to function

if the device supports continuous zoom then you should overwrite the included zoom function

Instance methods

zoom(direction : ZoomDirection, index : Int32 | String = 0)

As zoom is typically discreet we manually implement the analogue version Simple enough to overwrite this as required

Source
zoom_to(position : Float64, auto_focus : Bool = true, index : Int32 | String = 0)

This a discrete level on most cameras

Source

Nested types