Click or drag to resize

Rect2Clip Method

Returns the intersection of this Rect2 and `b`.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Rect2 Clip(
	Rect2 b
)

Parameters

b
Type: GodotRect2
The other rect.

Return Value

Type: Rect2
The clipped rect.
See Also