Unity Engine documentation Script Reference UnityEngine UnityEngine.UIElements GridLine A single placement value for grid-column-start, grid-column-end, grid-row-start and grid-row-end: auto, an explicit line (a non-zero integer; negative lines count back from the end edge of the explicit grid), or span <n> (n \>= 1).
Read time 1 minute
Last updated 3 days ago Definition
public readonly struct GridLine : IEquatable<GridLine>
Properties
Property Description isAuto Whether this value is . isLine Whether this value is an explicit line. isSpan Whether this value is a span. line The line index when GridLine.isLine is true (1-based, or negative counting back from the end edge); otherwise 0. placement Which kind of placement this value represents. span The span count when GridLine.isSpan is true; otherwise 0.
Static Properties
Property Description Auto : the edge is resolved by grid auto-placement.
Methods
Method Description ToString The USS text form: , , or the line number.
Static Methods
Method Description AtLine An explicit grid line. Span A span of tracks from the opposite edge.
Operators