Returns the intersection of this Rect2 and `b`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntaxpublic Rect2 Clip(
Rect2 b
)
Parameters
- b
- Type: GodotRect2
The other rect.
Return Value
Type:
Rect2The clipped rect.
See Also