TreeViewItem
TreeViewItem constructor.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
TreeViewItem()
TreeViewItem constructor.
public TreeViewItem()
TreeViewItem(int)
TreeViewItem constructor.
public TreeViewItem(int id)
Parameters
Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.
TreeViewItem(int, int)
TreeViewItem constructor.
public TreeViewItem(int id, int depth)
Parameters
Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.
Depth of this TreeViewItem. See Also TreeViewItem.depth.
TreeViewItem(int, int, string)
TreeViewItem constructor.
public TreeViewItem(int id, int depth, string displayName)
Parameters
Unique ID to identify this TreeViewItem with among all TreeViewItems of the TreeView. See Also TreeViewItem.id.
Depth of this TreeViewItem. See Also TreeViewItem.depth.
Rendered name of this TreeViewItem. See Also TreeViewItem.displayName.