RowGUIArgs

struct in UnityEditor.IMGUI.Controls

Cambiar al Manual

Descripción

Method arguments for the virtual method RowGUI.

Variables

focusedThis value is true only when the TreeView has keyboard focus and the TreeView's window has focus.
isRenamingThis value is true when the ::item is currently being renamed.
itemItem for the current row being handled in TreeView.RowGUI.
labelLabel used for text rendering of the item displayName. Note this is an empty string when isRenaming == true.
rowRow index into the list of current rows.
rowRectRow rect for the current row being handled.
selectedThis value is true when the current row's item is part of the current selection.

Funciones Públicas

GetCellRectIf using a MultiColumnHeader for the TreeView this method can be used to get the cell rects of a row using the visible columns of the MultiColumnHeader.
GetColumnIf using a MultiColumnHeader for the TreeView this method can be used to convert an index from the visible columns list to a index into the actual columns in the MultiColumnHeaderState.
GetNumVisibleColumnsIf using a MultiColumnHeader for the TreeView use this method to get the number of visible columns currently being shown in the MultiColumnHeader.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961