RectangleI

RectangleI

Axis-aligned integer rectangle used for grid operations, implemented purely in C# without engine-specific dependencies.

Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/Types/RectangleI.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

Position

Upper-left grid position of the rectangle in tile coordinates.

Size

Width and height of the rectangle in tiles.

Methods

Contains

Determines whether the given grid point lies within the rectangle.

Returns: bool

Parameters:

  • CoreVector2I point