setupControls

fun setupControls(mouse: MouseEvents, keyboard: KeyEvents)(source)

Configures the mouse interaction events for controlling the camera view and handling transformations such as translation, rotation, and scaling via mouse inputs.

Parameters

mouse

the MouseEvents instance that provides mouse interaction data, including button presses, dragging, and scrolling events.