# Rect / RectInt / Viewport 2D 矩形和视口结构体。 **头文件:** `#include ` **命名空间:** `XCEngine::Math` ## 目录 - [Rect](rect.md) - 浮点矩形 - [RectInt](rectint.md) - 整数矩形 - [Viewport](viewport.md) - 渲染视口 ## 相关文档 - [Math 模块总览](../math.md) - 返回 Math 模块总览