I have a 3D scene that is being rendered with a SubViewport. That SubViewport is itself inside a SubViewportContaier that is inside a bunch of other containers that allows it to dynamically change size. I would like to have the SubViewport expand to fill the entire amount of space available from the SubViewportContainer whenever it is resized. Is there a way to do this?
How do I make a SubViewport expand to fill available space?
kitfox changed the title to How do I make a SubViewport expand to fill available space? .
A SubViewport? What do you mean?
It works the same way as any Control node. You give it a parent Control and set the sizing and layout.
cybereality
Ok, now I understand, thanks
- Edited
I think to fill the whole screen, you need to go to the Transform > Size property of the parent of the control node (as @cybereality said) and copy it, then paste it on the size of the viewport. I think the control node rezises itself when added to the whole screen
I hope I answered your question