CoreRect2I
CoreRect2I
Integer-based 2D rectangle for area operations Engine-agnostic equivalent of Godot’s CoreRect2I
Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/Types/CoreRect2I.cs
Namespace: GridBuilding.Core.Types
Kind: struct
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Properties
Zero
Gets an empty rectangle at the origin.
Min
Gets the minimum corner of the rectangle.
Max
Gets the maximum corner of the rectangle (Position + Size).
Methods
Contains
Returns whether the rectangle contains the given point.
Returns: bool
Parameters:
CoreVector2I point
Equals
Returns: bool
Parameters:
CoreRect2I other
Equals
Returns: bool
Parameters:
object? obj
GetHashCode
Returns: int
ToString
Returns: string