setViewportMode

open fun setViewportMode(mode: ViewportMode)

Sets the `viewport mode`.