Viewport.setSizeOverride

Sets the size override of the viewport. If the enable parameter is true the override is used, otherwise it uses the default size. If the size parameter is (-1, -1), it won't update the size.

struct Viewport
@nogc nothrow
void
setSizeOverride
(
in bool enable
,
in Vector2 size = Vector2(-1, -1)
,
in Vector2 margin = Vector2(0, 0)
)

Meta