ViewportContainer
Control for holding Viewports.
A Container node that holds a , automatically setting its size.
Note: Changing a ViewportContainer’s Control.rect_scale will cause its contents to appear distorted. To change its visual size without causing distortion, adjust the node’s margins instead (if it’s not already in a container).
- stretch_shrink
Divides the viewport’s effective resolution by this value while preserving its scale. This can be used to speed up rendering.
Note: stretch must be for this property to work.