ViewportContainer
Inherits: Container < Control < CanvasItem < Node < Object
Category: Core
Brief Description
Control for holding Viewports.
Properties
bool | stretch |
int | stretch_shrink |
Description
A Container node that holds a Viewport, automatically setting its size.
Property Descriptions
- bool stretch
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() |