CameraPane

fun <T : LayoutView<*>> CameraPane(    posX: Number = 0,     posY: Number = 0,     width: Number,     height: Number,     visual: Visual = Visual.EMPTY,     target: T)

Parameters

posX

The x-coordinate of the camera pane's position on the screen. Default is 0.

posY

The y-coordinate of the camera pane's position on the screen. Default is 0.

width

The width of the camera pane.

height

The height of the camera pane.

visual

The visual representation of the camera pane. Default is an empty visual.

target

The target layout view that this camera pane will display.

T

The type of the target layout view. Must extend the LayoutView class.