Click or drag to resize

ControlSetAnchorsAndMarginsPreset Method

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetAnchorsAndMarginsPreset(
	ControlLayoutPreset preset,
	ControlLayoutPresetMode resizeMode = ControlLayoutPresetMode.Minsize,
	int margin = 0
)

Parameters

preset
Type: GodotControlLayoutPreset

[Missing <param name="preset"/> documentation for "M:Godot.Control.SetAnchorsAndMarginsPreset(Godot.Control.LayoutPreset,Godot.Control.LayoutPresetMode,System.Int32)"]

resizeMode (Optional)
Type: GodotControlLayoutPresetMode

[Missing <param name="resizeMode"/> documentation for "M:Godot.Control.SetAnchorsAndMarginsPreset(Godot.Control.LayoutPreset,Godot.Control.LayoutPresetMode,System.Int32)"]

margin (Optional)
Type: SystemInt32

[Missing <param name="margin"/> documentation for "M:Godot.Control.SetAnchorsAndMarginsPreset(Godot.Control.LayoutPreset,Godot.Control.LayoutPresetMode,System.Int32)"]

See Also