Skip to content
Select language:English

AuRea 1.0.2

fun onSurfaceChanged(rotation: Int, width: Int, height: Int)

Updates the viewport configuration when the rendering surface changes.

Parameters

rotation

The current display rotation.

width

The viewport width in pixels.

height

The viewport height in pixels.