setViewport

fun setViewport(width: Int, height: Int)

Sets the viewport dimensions. The manipulator uses this to process grab events and raycasts.