In Godot 2.1 there is a method:
get_viewport().set_rect()
How is it replaced in Godot 3.0?
I’m not quite sure, but just looking at the latest API, it seems like the only Rect2-referencing function is set_attach_to_screen_rect(Rect2 rect). Does that appear to have the same functionality?
Rect2
set_attach_to_screen_rect(Rect2 rect)