ViewportContainer

Inherits: Container < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Control for holding Viewports.

Description

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

Property Descriptions

Setter set_stretch(value)
Getter is_stretch_enabled()

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

  • int stretch_shrink
Setter set_stretch_shrink(value)
Getter get_stretch_shrink()