GetVisibleColumnIndex(int)
Convert from column index to visible column index.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
public int GetVisibleColumnIndex(int columnIndex)
Parameters
Column index.
Returns
Type | Description |
|---|---|
| int | Visible column index. |
Remarks
Columns can be hidden so to get the visible column index from a column index use this method. The 'column index' refers to the index into the MultiColumnHeaderState.columns array. The 'visible column index' refers to the currently visible columns shown in the MultiColumnHeader MultiColumnHeaderState.visibleColumns.