Click or drag to resize

Camera2DSetDragMargin Method

Note: This API is now obsolete.

Sets the specified margin. See also DragMarginBottom, DragMarginTop, DragMarginLeft, and DragMarginRight.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetDragMargin is deprecated. Use the DragMarginBottom property instead.")]
public void SetDragMargin(
	Margin margin,
	float dragMargin
)

Parameters

margin
Type: GodotMargin

[Missing <param name="margin"/> documentation for "M:Godot.Camera2D.SetDragMargin(Godot.Margin,System.Single)"]

dragMargin
Type: SystemSingle

[Missing <param name="dragMargin"/> documentation for "M:Godot.Camera2D.SetDragMargin(Godot.Margin,System.Single)"]

See Also