ViewportSetSizeOverride Method |
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.
Namespace: Godot
public void SetSizeOverride( bool enable, Vector2? size = null, Vector2? margin = null )
[Missing <param name="enable"/> documentation for "M:Godot.Viewport.SetSizeOverride(System.Boolean,System.Nullable{Godot.Vector2},System.Nullable{Godot.Vector2})"]