Viewport.setSizeOverride
struct Viewport
@nogc nothrow
void
setSizeOverride
(,in Vector2 size = Vector2(-1, -1) ,in Vector2 margin = Vector2(0, 0) )
godot viewport Viewport
aliasesenumsfunctionspropertiesstatic functionsstatic variablesstructsunionsvariables
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.