Click or drag to resize

Camera2DGetDragMargin Method

Note: This API is now obsolete.

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

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

Parameters

margin
Type: GodotMargin

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

Return Value

Type: Single

[Missing <returns> documentation for "M:Godot.Camera2D.GetDragMargin(Godot.Margin)"]

See Also