Version: 2017.3
public BoundsInt.PositionEnumerator GetEnumerator ();

Returns

PositionEnumerator This RectInt.PositionEnumerator.

Description

Returns this as an iterator that allows you to iterate over all positions within the RectInt.