Version: 2020.3

RectInt.allPositionsWithin

切换到手册
public BoundsInt.PositionEnumerator allPositionsWithin ;

描述

包含 RectInt 中所有位置的 RectInt.PositionCollection。

Positions within the RectInt are not inclusive of the positions on the upper limits of the RectInt. This iterator will only return positions of size greater than zero for each axis.