Click or drag to resize

Camera2DSetLimit Method

Note: This API is now obsolete.

Sets the specified camera limit. See also LimitBottom, LimitTop, LimitLeft, and LimitRight.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetLimit is deprecated. Use the LimitBottom property instead.")]
public void SetLimit(
	Margin margin,
	int limit
)

Parameters

margin
Type: GodotMargin

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

limit
Type: SystemInt32

[Missing <param name="limit"/> documentation for "M:Godot.Camera2D.SetLimit(Godot.Margin,System.Int32)"]

See Also