CameraSetPosCommand

Extends: ESCBaseCommand < Node

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

run

func run(command_params: Array) -> int

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.