setViewport

actual fun setViewport(width: Int, height: Int)

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

Parameters

width

the viewport width in pixels

height

the viewport height in pixels

expect fun setViewport(width: Int, height: Int)

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

Parameters

width

the viewport width in pixels

height

the viewport height in pixels

actual fun setViewport(width: Int, height: Int)

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

Parameters

width

the viewport width in pixels

height

the viewport height in pixels

actual fun setViewport(width: Int, height: Int)

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

Parameters

width

the viewport width in pixels

height

the viewport height in pixels

actual fun setViewport(width: Int, height: Int)

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

Parameters

width

the viewport width in pixels

height

the viewport height in pixels