Click or drag to resize

AspectRatioContainerRatio Property

The aspect ratio to enforce on child controls. This is the width divided by the height. The ratio depends on the StretchMode.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float Ratio { get; set; }

Property Value

Type: Single
See Also