Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEditor.IMGUI.Controls
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Method arguments for the virtual method RowGUI.
|focused||This value is true only when the TreeView has keyboard focus and the TreeView's window has focus.|
|isRenaming||This value is true when the ::item is currently being renamed.|
|item||Item for the current row being handled in TreeView.RowGUI.|
|label||Label used for text rendering of the item displayName. Note this is an empty string when isRenaming == true.|
|row||Row index into the list of current rows.|
|rowRect||Row rect for the current row being handled.|
|selected||This value is true when the current row's item is part of the current selection.|
|GetCellRect||If 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.|
|GetColumn||If 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.|
|GetNumVisibleColumns||If using a MultiColumnHeader for the TreeView use this method to get the number of visible columns currently being shown in the MultiColumnHeader.|
Did you find this page useful? Please give it a rating: