CameraSetPosCommand

Extends: ESCCameraBaseCommand < ESCBaseCommand < Resource

Description

camera_set_pos time x y

Moves the camera to the given absolute position over a time period.

Parameters

  • time: Number of seconds the transition should take

  • x: Target X coordinate

  • “y*: Target Y coordinate

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.