ViewportContainer

Inherits: Container < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Control for holding Viewports.

Properties

boolstretch
intstretch_shrink

Description

A Container node that holds a Viewport, automatically setting its size.

Property Descriptions

Setterset_stretch(value)
Getteris_stretch_enabled()

If true, the viewport will be scaled to the control’s size. Default value:false.


  • int stretch_shrink
Setterset_stretch_shrink(value)
Getterget_stretch_shrink()