Version 3.3.1.2

GUITableRowLayoutGroup class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public class GUITableRowLayoutGroup
Inheritance
  • System.Object
  • GUITableRowLayoutGroup

Constructors

GUITableRowLayoutGroup()
public GUITableRowLayoutGroup()

Fields

CellStyle
The cell style
public GUIStyle CellStyle
DrawScrollView
Whether to draw a draw scroll view.
public bool DrawScrollView
MaxScrollViewHeight
The maximum scroll view height.
public int MaxScrollViewHeight
MinScrollViewHeight
The number of pixels before a scroll view appears.
public int MinScrollViewHeight
ScrollPos
The scroll position
public Vector2 ScrollPos

Properties

ContentRect
Gets the rect containing all rows.
public Rect ContentRect { get; }
OuterRect
Gets the outer rect. The height of this <= ContentRect.height.
public Rect OuterRect { get; }
RowIndexFrom
Gets the first visible row index.
public int RowIndexFrom { get; }
RowIndexTo
Gets the last visible row index.
public int RowIndexTo { get; }

Methods

BeginCell(Int32)
Begins the cell.
public void BeginCell(int rowIndex)
Parameters
System.Int32 rowIndex

BeginColumn(Int32, Int32)
Begins the column.
public void BeginColumn(int xOffset, int width)
Parameters
System.Int32 xOffset

System.Int32 width

BeginTable(Int32)
Begins the table.
public void BeginTable(int rowCount)
Parameters
System.Int32 rowCount

EndCell(Int32)
Ends the cell.
public void EndCell(int rowIndex)
Parameters
System.Int32 rowIndex

EndColumn()
Ends the column.
public void EndColumn()
EndTable()
Ends the table.
public void EndTable()
GetRowRect(Int32)
Gets the row rect.
public Rect GetRowRect(int index)
Parameters
System.Int32 index

Returns
UnityEngine.Rect