CameraSetZoomHeightCommand
Extends: ESCBaseCommand < Resource
Description
camera_set_zoom_height pixels [time]
Zooms the camera in/out so it occupies the given height in pixels.
Parameters
pixels: Target height in pixels
time: Number of seconds the transition should take, with a value of
0
meaning the zoom should happen instantly (default:0
)
For more details see: https://docs.escoria-framework.org/camera
@ESC
Method Descriptions
configure
func configure() -> ESCCommandArgumentDescriptor
Return the descriptor of the arguments of this command
validate
func validate(arguments: Array)
Validate whether the given arguments match the command descriptor
run
func run(command_params: Array) -> int
Run the command
interrupt
func interrupt()
Function called when the command is interrupted.