Click or drag to resize

ContainerFitChildInRect Method

Fit a child control in a given rect. This is mainly a helper for creating custom container classes.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void FitChildInRect(
	Control child,
	Rect2 rect
)

Parameters

child
Type: GodotControl

[Missing <param name="child"/> documentation for "M:Godot.Container.FitChildInRect(Godot.Control,Godot.Rect2)"]

rect
Type: GodotRect2

[Missing <param name="rect"/> documentation for "M:Godot.Container.FitChildInRect(Godot.Control,Godot.Rect2)"]

See Also