Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


allPositionsWithin

A PositionCollection that contains all positions within the RectInt.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public readonly RectInt.PositionEnumerator allPositionsWithin { get; }

Remarks

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.